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 is a website building & hosting documentation for Clojure/Script libraries

× close