(install!)
(install! opts)
Improves the way exceptions are printed, including print*, pr*, and clojure.pprint/pprint.
Possible options:
:clean? <bool> :: Converts Clojure-specific stack trace elements to be more clojure-like. True by default. :collapse-common? <bool> :: With chained exceptions, skips common part of stack traces. True by default. :trace-transform <fn> :: A fn accepting and returning trace--a sequence of maps {:keys [element file line ns method]} where element is original StackTraceElement. :color? <bool> :: Whether to use color output. Autodetect by default. :reverse? <bool> :: Whether to print stack trace and cause chain inner-to-outer (Java default) or outer-to-inner. Useful for REPL and small terminals as class, message and source will always be at the bottom. False by default. :root-cause-only? <bool> :: Only print root cause. False by default. :indent <int> | <string> :: how many spaces to use to indent stack trace elements. Java uses "\t", we use 2 spaces by default.
Improves the way exceptions are printed, including print*, pr*, and clojure.pprint/pprint. Possible options: :clean? <bool> :: Converts Clojure-specific stack trace elements to be more clojure-like. True by default. :collapse-common? <bool> :: With chained exceptions, skips common part of stack traces. True by default. :trace-transform <fn> :: A fn accepting and returning trace--a sequence of maps {:keys [element file line ns method]} where element is original StackTraceElement. :color? <bool> :: Whether to use color output. Autodetect by default. :reverse? <bool> :: Whether to print stack trace and cause chain inner-to-outer (Java default) or outer-to-inner. Useful for REPL and small terminals as class, message and source will always be at the bottom. False by default. :root-cause-only? <bool> :: Only print root cause. False by default. :indent <int> | <string> :: how many spaces to use to indent stack trace elements. Java uses "\t", we use 2 spaces by default.
(uninstall!)
Restore default Clojure printer for Throwable
Restore default Clojure printer for Throwable
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close