Hierarchy (view full)

Constructors

  • Parameters

    • canisterId: Principal
    • methodName: string
    • type: "query" | "update"
    • props: Record<string, string>

    Returns utils.agent.ActorCallError

Properties

prepareStackTrace?: ((err, stackTraces) => any)

Optional override for formatting stack traces

Type declaration

    • (err, stackTraces): any
    • Parameters

      • err: Error
      • stackTraces: CallSite[]

      Returns any

stackTraceLimit: number
stack?: string
canisterId: Principal
methodName: string
type: "query" | "update"
props: Record<string, string>
message: string
name: string
__proto__: AgentError

Methods

  • Create .stack property on a target object

    Parameters

    • targetObject: object
    • Optional constructorOpt: Function

    Returns void