Options
All
  • Public
  • Public/Protected
  • All
Menu

Class UpdateCallRejectedError

Hierarchy

Index

Constructors

  • new UpdateCallRejectedError(canisterId: Principal, methodName: string, requestId: RequestId, response: { ok: boolean; status: number; statusText: string }): UpdateCallRejectedError

Properties

canisterId: Principal
message: string
methodName: string
name: string
props: Record<string, string>
requestId: RequestId
response: { ok: boolean; status: number; statusText: string }

Type declaration

  • ok: boolean
  • status: number
  • statusText: string
stack?: string
type: "query" | "update"
stackTraceLimit: number

Methods

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

    Parameters

    • targetObject: object
    • Optional constructorOpt: Function

    Returns void

  • prepareStackTrace(err: Error, stackTraces: CallSite[]): any

Generated using TypeDoc