Constructor
new ApiError(status, body)
Parameters:
| Name | Type | Description |
|---|---|---|
status |
number | |
body |
string |
- Source:
Error for a response a Mangrove server refused.
status is the HTTP status and body the response text, which names the
reason, such as the field of a review that is wrong.
| Name | Type | Description |
|---|---|---|
status |
number | |
body |
string |