CatcherCallback()
type CatcherCallback: (error, config) => void | Promise<Response | void>;
Callback function used to handle fetch response errors.
Parameters
| Parameter | Type |
|---|---|
error | ResponseError |
config | Fetchtastic |
Returns
void | Promise<Response | void>