Constructor
new ResponseError(message, path, response)
Construct a new ResponseError
- Source:
Parameters:
Name | Type | Description |
---|---|---|
message |
string
|
an message to return instead of the the default error message |
path |
string
|
the requested path |
response |
Object
|
the object returned by Axios |