Options
All
  • Public
  • Public/Protected
  • All
Menu

Class UpdateCallRejectedError

Hierarchy

Index

Constructors

  • new UpdateCallRejectedError(canisterId: Principal, methodName: string, requestId: RequestId, response: { body: null | { error_code?: string; reject_code: number; reject_message: string }; headers: HttpHeaderField[]; ok: boolean; status: number; statusText: string }): UpdateCallRejectedError

Properties

canisterId: Principal
message: string
methodName: string
name: string
props: Record<string, string>
requestId: RequestId
response: { body: null | { error_code?: string; reject_code: number; reject_message: string }; headers: HttpHeaderField[]; ok: boolean; status: number; statusText: string }

Type declaration

  • body: null | { error_code?: string; reject_code: number; reject_message: string }
  • headers: HttpHeaderField[]
  • ok: boolean
  • status: number
  • statusText: 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