Error handling module
Classes
Methods
-
<static> call(error, response) → {Error|module:errors.HttpError}
-
Parse a response from the API server to determine error status
Parameters:
Name Type Argument Description errorError <nullable>
responseobject <nullable>
Returns:
- Type
- Error | module:errors.HttpError