RestErrorOptions interface
The options supported by RestError.
Properties
code | The code of the error itself (use statics on RestError if possible.) |
request | The request that was made. |
response | The response received (if any.) |
status |
The HTTP status code of the request (if applicable.) |
Property Details
code
The code of the error itself (use statics on RestError if possible.)
code?: string
Property Value
string
request
response
statusCode
The HTTP status code of the request (if applicable.)
statusCode?: number
Property Value
number