Options
All
  • Public
  • Public/Protected
  • All
Menu

Wrapper for a HTTP error

Hierarchy

Implemented by

Index

Properties

cancelled

cancelled: boolean

True if the request was cancelled

contentAsync

contentAsync: Promise<IHttpResponseContent>

The content of the response

headers

The headers of the response

message

message: string

the error message

ok

ok: boolean

True if the response has an OK status

request

request: Readonly<IHttpRequest>

The request that created the response

response

response: any

The raw response

responseType

responseType: HttpResponseType

The type of content in the response

shouldRetry

shouldRetry: boolean

When true, the request should be retried

status

The status code of the response

statusText

statusText: string

The text that came along with the status code

Methods

executeAsync

Generated using TypeDoc