Error thrown when a network error occurs
Error thrown when a network error occurs
Extends
Constructors
Constructor
new NetworkError(
message,status):NetworkError
Parameters
message
string
status
number
Returns
NetworkError
Overrides
Methods
isBwellError()
staticisBwellError(e):e is BWellError
Checks if the given error is a BWellError
Parameters
e
unknown
The error to check
Returns
e is BWellError
True if the error is a BWellError, false otherwise
Inherited from
captureStackTrace()
staticcaptureStackTrace(targetObject,constructorOpt?):void
Create .stack property on a target object
Parameters
targetObject
object
constructorOpt?
Function
Returns
void
Inherited from
Properties
cause?
optionalcause:unknown
Inherited from
status
status:
number
prepareStackTrace()?
staticoptionalprepareStackTrace: (err,stackTraces) =>any
Optional override for formatting stack traces
Parameters
err
Error
stackTraces
CallSite[]
Returns
any
See
https://v8.dev/docs/stack-trace-api#customizing-stack-traces
Inherited from
stackTraceLimit
staticstackTraceLimit:number
Inherited from
name
name:
string
Inherited from
message
message:
string
Inherited from
stack?
optionalstack:string
