Properties
__proto__
__proto__: AgentError = AgentError.prototype
Readonly canisterId
canisterId: Principal
Optional Readonly error_code
error_code?: string
Readonly message
message: string
Readonly methodName
methodName: string
name
name: string = 'AgentError'
Readonly props
props: Record<string, string>
Readonly reject_message
reject_message: string
Readonly response
Type declaration
ok: boolean
status: number
statusText: string
Optional stack
stack?: string
Readonly type
type: "update" | "query"
Static Optional prepareStackTrace
prepareStackTrace?: ((err: Error, stackTraces: CallSite[]) => any)
Type declaration
- (err: Error, stackTraces: CallSite[]): any
Parameters
err: Error
stackTraces: CallSite[]
Returns any
Static stackTraceLimit
stackTraceLimit: number
Optional override for formatting stack traces
https://v8.dev/docs/stack-trace-api#customizing-stack-traces