Liking cljdoc? Tell your friends :D

wagoe.core.http.error-status

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.
raw docstring

default-error-mappingsclj

Exception :type -> [status title].

Exception `:type` -> [status title].
sourceraw docstring

exception-log-levelclj

(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`).
sourceraw docstring

exception-statusclj

(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.
sourceraw docstring

status-log-levelclj

(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.
sourceraw docstring

cljdoc builds & hosts documentation for Clojure/Script libraries

Keyboard shortcuts
Ctrl+kJump to recent docs
←Move to previous article
→Move to next article
Ctrl+/Jump to the search field
× close