This commit is contained in:
Tommi Reiman 2018-08-03 13:31:21 +03:00
parent a9b0a2ef73
commit 0d165e799f
2 changed files with 8 additions and 8 deletions

View file

@ -48,10 +48,10 @@ Creates the exception-middleware with custom options. Takes a map of `identifier
The following handlers special keys are available: The following handlers special keys are available:
| key | description | key | description
|--------------|------------- |------------------------|-------------
| `::default` | a default exception handler if nothing else mathced (default `exception/default-handler`). | `::exception/default` | a default exception handler if nothing else mathced (default `exception/default-handler`).
| `::wrap` | a 3-arity handler to wrap the actual handler `handler exception request => response` (no default). | `::exception/wrap` | a 3-arity handler to wrap the actual handler `handler exception request => response` (no default).
The handler is selected from the options map by exception idenfitifier in the following lookup order: The handler is selected from the options map by exception idenfitifier in the following lookup order:

View file

@ -121,10 +121,10 @@
The following handlers special handlers are available: The following handlers special handlers are available:
| key | description | key | description
|--------------|------------- |------------------------|-------------
| `::default` | a default exception handler if nothing else mathced (default [[default-handler]]). | `::exception/default` | a default exception handler if nothing else mathced (default [[default-handler]]).
| `::wrap` | a 3-arity handler to wrap the actual handler `handler exception request => response` | `::exception/wrap` | a 3-arity handler to wrap the actual handler `handler exception request => response`
The handler is selected from the options map by exception idenfiter The handler is selected from the options map by exception idenfiter
in the following lookup order: in the following lookup order: