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

HttpDefaultFetchErrorCode

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

  • ErrorCode

new HttpDefaultFetchErrorCode(error): HttpDefaultFetchErrorCode

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

string

HttpDefaultFetchErrorCode

ErrorCode.constructor

optional callContext: CallContext

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

ErrorCode.callContext


readonly error: string

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


readonly isCertified: boolean = false

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

ErrorCode.isCertified


name: string = 'HttpDefaultFetchErrorCode'

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


optional requestContext: RequestContext

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

ErrorCode.requestContext

toErrorMessage(): string

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

string

ErrorCode.toErrorMessage


toString(): string

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

string

ErrorCode.toString