C
FetchError
v0.0.1Error thrown by $fetch on network failures or non-2xx responses
Signature
ts
class FetchError<T = unknown> extends Error implements IFetchError<T>Type Parameters
T= unknownProperties
| Property | Type | Description |
|---|---|---|
request | FetchRequest | undefined | — |
options | FetchErrorOptions | undefined | — |
response | FetchResponse<T> | undefined | — |
data | T | undefined | — |
status | number | undefined | — |
statusText | string | undefined | — |
statusCode | number | undefined | — |
statusMessage | string | undefined | — |