An error reported from a service response.

Hierarchy (view full)

Constructors

Properties

level: ErrorLevel = ErrorLevel.FATAL
origin: string = ErrorOrigin.INTERNAL
response: null | Response

When the request failure is a !ok response, this will be set.

Accessors

  • get [toStringTag](): string
  • Returns string

  • get name(): string
  • Returns string

Methods

  • 500 errors are external service errors, all other errors are considered internal.

    Parameters

    Returns string