any other extra contextual information (e.g. details pulled out of the cause errors)
The "base path" for the URI. Specified on the session object.
Original errors that caused/influenced this one
The "errno" provided from the Node.js http interface. when client.on("error") is invoked.
If available, the HTTP error code. This field is deprecated and replaced with "httpStatus".
Any HTTP headers added to the request.
The hostname supplied on the session object.
The HTTP status code from the request. Might not be populated if a "client" error occurred (e.g. ECONNREFUSED).
Message text of the error
The request payload.
The port number of the remote host. Specified on the session object.
The protocol used to connect to the remote host. Specified on the session object.
The HTTP method/verb (e.g. PUT)
The URI or resource of the request being made.
The error "source". Indicates where the error occurred in the REST client. "client" indicates that the error occurred before the request to the remote system could be fulfilled (normally due to network, bad host/port, etc.). "http" indicates that a non-OK HTTP status code was presented.
Error status
The syscall provided from the Node.js http interface when client.on("error") is invoked. Usually accompanied by an "errno".
Generated using TypeDoc
REST client error interface. Extends IImperativeError to provide additional details specified to REST/HTTP errors.
IRestClientError