mirror of
https://github.com/metosin/reitit.git
synced 2025-12-23 18:41:11 +00:00
fix docs
This commit is contained in:
parent
a9b0a2ef73
commit
0d165e799f
2 changed files with 8 additions and 8 deletions
|
|
@ -48,10 +48,10 @@ Creates the exception-middleware with custom options. Takes a map of `identifier
|
|||
|
||||
The following handlers special keys are available:
|
||||
|
||||
| key | description
|
||||
|--------------|-------------
|
||||
| `::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).
|
||||
| key | description
|
||||
|------------------------|-------------
|
||||
| `::exception/default` | a default exception handler if nothing else mathced (default `exception/default-handler`).
|
||||
| `::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:
|
||||
|
||||
|
|
|
|||
|
|
@ -121,10 +121,10 @@
|
|||
|
||||
The following handlers special handlers are available:
|
||||
|
||||
| key | description
|
||||
|--------------|-------------
|
||||
| `::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`
|
||||
| key | description
|
||||
|------------------------|-------------
|
||||
| `::exception/default` | a default exception handler if nothing else mathced (default [[default-handler]]).
|
||||
| `::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
|
||||
in the following lookup order:
|
||||
|
|
|
|||
Loading…
Reference in a new issue