Types: AddErrorHook()<TRoute, TRoutes, TRejections>
ts
type AddErrorHook<TRoute, TRoutes, TRejections> = (hook) => HookRemove;Type Parameters
| Type Parameter | Default type |
|---|---|
TRoute extends Route | Route |
TRoutes extends Routes | Routes |
TRejections extends Rejections | Rejections |
Parameters
| Parameter | Type |
|---|---|
hook | ErrorHook<TRoute, TRoutes, TRejections> |