Checks if a given string is a valid error code.

  • Parameters

    • errorCode: string

      The error code to check.

    Returns boolean

    True if the error code is valid, false otherwise.