Class: IotaHTTPStatusError
Extends
Constructors
new IotaHTTPStatusError()
new IotaHTTPStatusError(
message,status,statusText):IotaHTTPStatusError
Parameters
• message: string
• status: number
• statusText: string
Returns
Overrides
IotaHTTPTransportError.constructor
Properties
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
IotaHTTPTransportError.prepareStackTrace
stackTraceLimit
staticstackTraceLimit:number
Inherited from
IotaHTTPTransportError.stackTraceLimit
cause?
optionalcause:unknown
Inherited from
name
name:
string
Inherited from
message
message:
string
Inherited from
IotaHTTPTransportError.message
stack?
optionalstack:string
Inherited from
status
status:
number
statusText
statusText:
string
Methods
captureStackTrace()
staticcaptureStackTrace(targetObject,constructorOpt?):void
Create .stack property on a target object
Parameters
• targetObject: object
• constructorOpt?: Function
Returns
void