ApiError

ApiError

new ApiError()

Source:
Properties:
Name Type Description
statusCode number The status code returned by the server
statusText string The status text associated with the status code
error string The error message returned by the API if available
body string The response body as a string if available
json Object The response body as an object if available
API Error - An error thrown if an error is returned by the API

Extends