Controls how exception logging will happen if at all.
It will dispatch the call to the defmethods via the
exception :type, defaulting to generic logging.
Controls how exception logging will happen if at all. It will dispatch the call to the defmethods via the exception `:type`, defaulting to generic logging.
Controls how exception response will happen.
If the exception is a :exoscale.ex/user-exposable it will be
dispatched normally, otherwise it will jump to ::ex/unexposable
implementation
Controls how exception response will happen. If the exception is a `:exoscale.ex/user-exposable` it will be dispatched normally, otherwise it will jump to `::ex/unexposable` implementation
(ex->response* e defaults)Format user-exposable exceptions
Format user-exposable exceptions
(find-message e default-error-msg)Finds most appropriate message within exception stack for
logging/reporting purposes. Tries to avoid the default
default-error-msg
Finds most appropriate message within exception stack for logging/reporting purposes. Tries to avoid the default `default-error-msg`
(not-found)(not-found msg)(unexposable-handler default-error-msg)Install the method for the ::unexposable errors.
Install the method for the ::unexposable errors.
(wrap-incorrect cause)A function which will wrap an exception with an exception that derives ::ex/incorrect and ::ex/user-exposable, while copying messages and ex-data
A function which will wrap an exception with an exception that derives ::ex/incorrect and ::ex/user-exposable, while copying messages and ex-data
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 |