Create a new response error.
The response associated with the error.
Optional
stackThe traceback associated with the error.
Static
Optional
prepareOptional override for formatting stack traces
Static
stackPrivate
Static
_defaultStatic
captureCreate .stack property on a target object
Optional
constructorOpt: FunctionStatic
createCreate a ResponseError from a response, handling the traceback and message as appropriate.
The response object.
A promise that resolves with a ResponseError
object.
A wrapped error for a fetch response.