Converts a generic Axios error into a specialized HackerAPI error
The server 400'ed
Something happened in setting up the request that triggered an error
The server 404'ed
The request was made but no response was received from the server.
Either no token is provided or the token isn't authorized to make that request
What did you do...
Adds a callback to be called whenever a global error is fired
Fires a new error for global error listeners to handle
Removes all instances of the given callback
Generated using TypeDoc
The wrapper class for all errors that occur inside
hackerapi.js
. It provides a constant API for all types of errors that can occur with the API.