Skip to main content

AJAXError

An error thrown when a HTTP request results in an error response.

Extends

  • Error

Constructors

new AJAXError()

new AJAXError(status: number, statusText: string, url: string, body: Blob): AJAXError

Parameters

Parameter Type Description
status number The response’s HTTP status code.
statusText string The response’s HTTP status text.
url string The request’s URL.
body Blob The response’s body.

Returns

AJAXError

Overrides

Error.constructor

Properties

body

body: Blob

The response’s body.


status

status: number

The response’s HTTP status code.


statusText

statusText: string

The response’s HTTP status text.


url

url: string

The request’s URL.

Last updated August 23, 2024.