Constructor
new CRESTError(url, status, statusMessage, messageopt)
- Source:
Creates a new instance.
Parameters:
Name | Type | Attributes | Description |
---|---|---|---|
url |
string | URL of the response. | |
status |
number | HTTP response status code of the response. | |
statusMessage |
string | Status message corresponding to the HTTP response status code. | |
message |
string |
<optional> |
Human-readable description of the error. |