The :type -> HTTP status table, and the level an error is logged at.
Here rather than in platform so the SQL layer can log a refused key as the
caller's, without the HTTP stack (BOU-871).
wagoe.platform.core.http.problem-details delegates to these.
The `:type` -> HTTP status table, and the level an error is logged at. Here rather than in platform so the SQL layer can log a refused key as the caller's, without the HTTP stack (BOU-871). `wagoe.platform.core.http.problem-details` delegates to these.
Exception :type -> [status title].
Exception `:type` -> [status title].
(exception-log-level ex error-mappings)The level ex is logged at: its status's (status-log-level).
The level `ex` is logged at: its status's (`status-log-level`).
(exception-status ex error-mappings)The HTTP status and title for ex: its :type looked up in the default
mappings merged with error-mappings. Untyped or unmapped is a 500.
The HTTP status and title for `ex`: its `:type` looked up in the default mappings merged with `error-mappings`. Untyped or unmapped is a 500.
(status-log-level status)The level an error answered with status is logged at: a 4xx is the
client's, not a fault (BOU-704). 401/403 at :warn, worth seeing in bulk.
The level an error answered with `status` is logged at: a 4xx is the client's, not a fault (BOU-704). 401/403 at :warn, worth seeing in bulk.
cljdoc builds & hosts documentation for Clojure/Script libraries
| Ctrl+k | Jump to recent docs |
| ← | Move to previous article |
| → | Move to next article |
| Ctrl+/ | Jump to the search field |