Optional
causeAn underlying system error or other cause.
Optional
codeThe code
field in the ErrorResponse
The API endpoint that was requested
The data that was sent to the API endpoint. Will be a parsed JavaScript object unless the request JSON was invalid, in which case it will be a string.
The HTTP response body. Will be a parsed JavaScript object unless the response JSON was invalid, in which case it will be a string.
Optional
stackThe HTTP response status code returned
Static
Optional
prepareOptional override for formatting stack traces
https://v8.dev/docs/stack-trace-api#customizing-stack-traces
Static
stackStatic
captureGenerated using TypeDoc
Error subclass raised for any error returned by the API. Should not be instantiated directly.