Hierarchy (view full)

Constructors

Properties

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 | {
        error_code?: string;
        reject_code: number;
        reject_message: string;
        certificate?: ArrayBuffer;
    };
    headers: utils.agent.HttpHeaderField[];
}

Type declaration

  • ok: boolean
  • status: number
  • statusText: string
  • body: null | {
        error_code?: string;
        reject_code: number;
        reject_message: string;
        certificate?: ArrayBuffer;
    }
  • headers: utils.agent.HttpHeaderField[]
message: string
prepareStackTrace?: ((err, stackTraces) => any)

Optional override for formatting stack traces

Type declaration

    • (err, stackTraces): any
    • Parameters

      • err: Error
      • stackTraces: CallSite[]

      Returns any

stackTraceLimit: number
name: string
stack?: string

Methods

  • Create .stack property on a target object

    Parameters

    • targetObject: object
    • Optional constructorOpt: Function

    Returns void