Constructor
# new StalksHTTPError(code, method, path, response)
The error that can occur on connecting to the stalks server.
Parameters:
Name | Type | Description |
---|---|---|
code |
number | The HTTP error code. |
method |
string | The HTTP method use for the request. |
path |
string | The request path. |
response |
Response | The fetch response. |
Members
# message
Returns a small description of the error.