Class: RequestError

RequestError(errorResponse)

An exception which can be passed in a response callback to a failed Client#asyncRequest call.

Constructor

new RequestError(errorResponse)

Parameters:
Name Type Description
errorResponse ErrorResponse

The DXL ErrorResponse returned from the DXL fabric for the failed request.

Source:

Extends

  • Error

Members

code :String

String label that identifies the kind of error. See ResponseErrorCode for a list of possible string constants.

Type:
  • String
Source:

detail :ErrorResponse

The DXL ErrorResponse with more detail for the error.

Type:
Deprecated:
Source:

dxlErrorResponse :ErrorResponse

The DXL ErrorResponse with more detail for the error.

Type:
Source: