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 error
Error <nullable>
response
object <nullable>
Returns:
- Type
- Error | module:errors.HttpError