Liking cljdoc? Tell your friends :D

yang.exception


set-default-exception-handlerclj

(set-default-exception-handler)
(set-default-exception-handler {:keys [log] :or {log println}})

(set-default-exception-handler) or (set-default-exception-handler {:log (fn [ex tname] (log/error ex tname))}) ;; to wrap log/error macro or plugin another favorite logger

(set-default-exception-handler)
or
(set-default-exception-handler {:log (fn [ex tname] (log/error ex tname))})  ;; to wrap log/error macro
or
plugin another favorite logger
sourceraw docstring

throwable->strclj

(throwable->str t)
source

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