module@warp-drive/legacy/adapter/error @legacy
Interface AdapterRequestErrorConstructor<Instance>
Defined in: warp-drive-packages/legacy/src/adapter/error.ts:58
The static interface shared by AdapterError and its subclasses, allowing further subclassing via extend.
Type Parameters
Instance
Instance extends AdapterRequestError = AdapterRequestError
Constructors
Constructor
ts
new AdapterRequestErrorConstructor(errors?, message?): Instance;Defined in: warp-drive-packages/legacy/src/adapter/error.ts:59
Parameters
errors?
unknown[]
message?
string
Returns
Instance
Methods
extend()
ts
extend(options): AdapterRequestErrorConstructor;Defined in: warp-drive-packages/legacy/src/adapter/error.ts:63
Creates a new AdapterRequestErrorConstructor that inherits from this one.
Parameters
options
message
string
Returns
AdapterRequestErrorConstructor