The reason why things didn't go as expected
The server to which the request was sent
The method used for this request (like "get", "post", etc...)
The type of resource that was requested from the server
The filters that were used to specify what resource was wanted
Optionalstatus_code: numberThe status code that was returned by the server, if there is one
Optionaloriginal_error: ErrorThe error that caused the api to throw an APIError in the first place, if there is one
The type of resource that was requested from the server
The reason why things didn't go as expected
The method used for this request (like "get", "post", etc...)
Optionaloriginal_The error that caused the api to throw an APIError in the first place, if there is one
The filters that were used to specify what resource was wanted
The server to which the request was sent
Optionalstatus_The status code that was returned by the server, if there is one
If the API throws an error, it should always be an APIError!