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
Overrides
Error.constructor
Defined in
Properties
body
body:
Blob
The response's body.
Defined in
status
status:
number
The response's HTTP status code.
Defined in
statusText
statusText:
string
The response's HTTP status text.
Defined in
url
url:
string
The request's URL.