Skip to content

FetchKitError

Defined in: packages/fetch-kit/src/errors.ts:7

Base class for all errors thrown by fetch-kit.

Use instanceof FetchKitError to catch any kit error, or check specific subclasses for fine-grained handling.

  • Error

new FetchKitError(message?): FetchKitError

Defined in: node_modules/.pnpm/typescript@5.7.2/node_modules/typescript/lib/lib.es5.d.ts:1082

string

FetchKitError

Error.constructor

new FetchKitError(message?, options?): FetchKitError

Defined in: node_modules/.pnpm/typescript@5.7.2/node_modules/typescript/lib/lib.es5.d.ts:1082

string

ErrorOptions

FetchKitError

Error.constructor

readonly name: string = "FetchKitError"

Defined in: packages/fetch-kit/src/errors.ts:8

Error.name