Defined in: packages/common/src/errors/FetchError.ts:6
Error class representing a "Fetch Error" error, typically thrown when a fetch request fails.
new FetchError(
route,
method,
cause?): FetchError;Defined in: packages/common/src/errors/FetchError.ts:16
Initializes a new instance of the error message with a default message indicating that no chain was supplied to the client.
Parameters
| Parameter | Type | Description |
|---|---|---|
|
| The route that failed to fetch. |
|
| The HTTP method that was used. |
|
| The cause of the error. |
Returns
FetchError