Hierarchy (view full)

Constructors

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: types.Principal
methodName: string
type: "query" | "update"
props: Record<string, string>
requestId: utils.agent.RequestId
response: {
    ok: boolean;
    status: number;
    statusText: string;
    body: null | utils.agent.v2ResponseBody | utils.agent.v3ResponseBody;
    headers: utils.agent.HttpHeaderField[];
}

Type declaration

reject_message: string
error_code?: string
message: string
name: string
__proto__: AgentError

Methods

  • Create .stack property on a target object

    Parameters

    • targetObject: object
    • Optional constructorOpt: Function

    Returns void