Liking cljdoc? Tell your friends :D

blueprint.error


ex->logcljmultimethod

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

ex->responsecljmultimethod

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

ex->response*clj

(ex->response* e defaults)

Format user-exposable exceptions

Format user-exposable exceptions
raw docstring

exception-loggerclj


exception-responseclj


find-messageclj

(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`
raw docstring

not-foundclj

(not-found)
(not-found msg)

unexposable-handlerclj

(unexposable-handler default-error-msg)

Install the method for the ::unexposable errors.

Install the method for the ::unexposable errors.
raw docstring

wrap-incorrectclj

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

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close