Class: ApiError

ApiError(status, body)

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.

Constructor

new ApiError(status, body)

Parameters:
Name Type Description
status number
body string
Source:

Classes

ApiError