- Preparing search index...
- The search index is not available
wretch
Type alias WretchErrorCallback<T, C, R>
Wretch
Error
Callback
<T, C, R>: ((error
: WretchError, originalRequest
: Wretch<T, C, R>) => any)
Type declaration
-
- (error: WretchError, originalRequest: Wretch<T, C, R>): any
-
Parameters
-
-
originalRequest: Wretch<T, C, R>
Returns any
Callback provided to catchers on error. Contains the original wretch instance used to perform the request.