Skip to main content

CatcherCallback()

type CatcherCallback: (error, config) => void | Promise<Response | void>;

Callback function used to handle fetch response errors.

Parameters

ParameterType
errorResponseError
configFetchtastic

Returns

void | Promise<Response | void>