Options
All
  • Public
  • Public/Protected
  • All
Menu

Class ActorCallError

Hierarchy

Index

Constructors

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

Properties

canisterId: Principal
message: string
methodName: string
name: string
props: Record<string, string>
stack?: string
type: "update" | "query"
prepareStackTrace?: ((err: Error, stackTraces: CallSite[]) => any)

Type declaration

stackTraceLimit: number

Methods

  • captureStackTrace(targetObject: object, constructorOpt?: Function): void
  • Create .stack property on a target object

    Parameters

    • targetObject: object
    • Optional constructorOpt: Function

    Returns void

Generated using TypeDoc