RequestErrorEvent

RequestErrorEvent

new

An event that is raised when a request encounters an error.

Parameters:
Name Type Argument Description
statusCode Number <optional>
The HTTP error status code, such as 404.
response Object <optional>
The response included along with the error.
Source:

Members

:Object

The response included along with the error. If the error does not include a response, this property will be undefined.

:Number

The HTTP error status code, such as 404. If the error does not have a particular HTTP code, this property will be undefined.