Skip to content
Still using @dfinity/agent? Migrate to @icp-sdk/core!

MissingCanisterIdErrorCode

Defined in: packages/agent/src/errors.ts:771

  • ErrorCode

new MissingCanisterIdErrorCode(receivedCanisterId): MissingCanisterIdErrorCode

Defined in: packages/agent/src/errors.ts:774

unknown

MissingCanisterIdErrorCode

ErrorCode.constructor

optional callContext: CallContext

Defined in: packages/agent/src/errors.ts:39

ErrorCode.callContext


readonly isCertified: boolean = false

Defined in: packages/agent/src/errors.ts:41

ErrorCode.isCertified


name: string = 'MissingCanisterIdErrorCode'

Defined in: packages/agent/src/errors.ts:772


readonly receivedCanisterId: unknown

Defined in: packages/agent/src/errors.ts:774


optional requestContext: RequestContext

Defined in: packages/agent/src/errors.ts:38

ErrorCode.requestContext

toErrorMessage(): string

Defined in: packages/agent/src/errors.ts:779

string

ErrorCode.toErrorMessage


toString(): string

Defined in: packages/agent/src/errors.ts:45

string

ErrorCode.toString