Represents an error caused by an api call i.e. it has attributes for a HTTP status code and the returned body object.
Example API returns a ErrorMessageObject whenever HTTP status code is not in [200, 299] => ApiException(404, someErrorMessageObject)
Optional
Static
Optional override for formatting stack traces
https://github.com/v8/v8/wiki/Stack Trace API#customizing-stack-traces
Create .stack property on a target object
Represents an error caused by an api call i.e. it has attributes for a HTTP status code and the returned body object.
Example API returns a ErrorMessageObject whenever HTTP status code is not in [200, 299] => ApiException(404, someErrorMessageObject)