Class OpenApiHttpResponseError

Hierarchy

  • HttpErrorResponse
    • OpenApiHttpResponseError

Constructors

Properties

error: any
headers: HttpHeaders

All response headers.

httpErrorResponse: HttpErrorResponse
message: string
metadata: OpenApiMetaData
name: "HttpErrorResponse"
ok: false

Errors are never okay, even when the status code is in the 2xx success range.

status: number

Response status code.

statusText: string

Textual description of response status code, defaults to OK.

Do not depend on this.

type: ResponseHeader | Response

Type of the response, narrowed to either the full response or the header.

url: null | string

URL of the resource retrieved, or null if not available.

Accessors