Type alias WretchErrorCallback<T, C, R>

WretchErrorCallback<T, C, R>: ((error, originalRequest) => any)

Type Parameters

  • T

  • C

  • R

Type declaration

    • (error, originalRequest): any
    • Callback provided to catchers on error. Contains the original wretch instance used to perform the request.

      Parameters

      Returns any

Generated using TypeDoc