mirror of
https://github.com/directus/directus.git
synced 2026-04-25 03:00:53 -04:00
Add on-error hook (#4233)
* Add on-error hook Closes #2906 * Ignore unspecified listeners * Document error hook
This commit is contained in:
@@ -81,8 +81,9 @@ module.exports = function registerHook({ exceptions }) {
|
||||
| `middlewares.init` | `before` and `after` | No |
|
||||
| `request` | `not_found` | No |
|
||||
| `response` | | No† |
|
||||
| `items` | `create`, `update` and `delete` | Optional |
|
||||
| `error` | | No |
|
||||
| `auth` | `success`†, `fail`† and `refresh`† | No |
|
||||
| `items` | `create`, `update` and `delete` | Optional |
|
||||
| `activity` | `create`, `update` and `delete` | Optional |
|
||||
| `collections` | `create`, `update` and `delete` | Optional |
|
||||
| `fields` | `create`, `update` and `delete` | Optional |
|
||||
|
||||
Reference in New Issue
Block a user