Create a new HttpResponseError to be thrown
Request object used to make the API request via fetch
Response object returned from the API
Optional
message: string(optional) Error message, will default to the statusText of the response
Optional
causeReadonly
requestRequest object used to make the API request via fetch
Readonly
responseResponse object returned from the API
Optional
stackStatic
Optional
prepareOptional override for formatting stack traces
Static
stackStatic
capture
Error class to be thrown when the API response is a non-success status.