FetchKitError
Class: FetchKitError
Section titled “Class: 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.
Extends
Section titled “Extends”Error
Extended by
Section titled “Extended by”Constructors
Section titled “Constructors”Constructor
Section titled “Constructor”new FetchKitError(
message?):FetchKitError
Defined in: node_modules/.pnpm/typescript@5.7.2/node_modules/typescript/lib/lib.es5.d.ts:1082
Parameters
Section titled “Parameters”message?
Section titled “message?”string
Returns
Section titled “Returns”FetchKitError
Inherited from
Section titled “Inherited from”Error.constructor
Constructor
Section titled “Constructor”new FetchKitError(
message?,options?):FetchKitError
Defined in: node_modules/.pnpm/typescript@5.7.2/node_modules/typescript/lib/lib.es5.d.ts:1082
Parameters
Section titled “Parameters”message?
Section titled “message?”string
options?
Section titled “options?”ErrorOptions
Returns
Section titled “Returns”FetchKitError
Inherited from
Section titled “Inherited from”Error.constructor
Properties
Section titled “Properties”
readonlyname:string="FetchKitError"
Defined in: packages/fetch-kit/src/errors.ts:8
Overrides
Section titled “Overrides”Error.name