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 applicable, an error code, for example, HTTP status code surrounding the error
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
Whether or not the error should suppress a full error dump, like in Imperative init
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