Types: RejectionHooks<TRejections>
ts
type RejectionHooks<TRejections> = object;Type Parameters
| Type Parameter | Default type |
|---|---|
TRejections extends string | string |
Properties
| Property | Type | Description |
|---|---|---|
onRejection | AddRejectionHook<TRejections> | Registers a route hook to be called when a rejection occurs. |