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:
- in favor of RequestError#dxlErrorResponse
- Source:
dxlErrorResponse :ErrorResponse
The DXL ErrorResponse with more detail for the error.
Type:
- Source: