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

DerPrefixMismatchErrorCode

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

  • ErrorCode

new DerPrefixMismatchErrorCode(expectedPrefix, actualPrefix): DerPrefixMismatchErrorCode

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

Uint8Array

Uint8Array

DerPrefixMismatchErrorCode

ErrorCode.constructor

readonly actualPrefix: Uint8Array

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


optional callContext: CallContext

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

ErrorCode.callContext


readonly expectedPrefix: Uint8Array

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


readonly isCertified: boolean = false

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

ErrorCode.isCertified


name: string = 'DerPrefixMismatchErrorCode'

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


optional requestContext: RequestContext

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

ErrorCode.requestContext

toErrorMessage(): string

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

string

ErrorCode.toErrorMessage


toString(): string

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

string

ErrorCode.toString