Skip to main content

report-error

function

clojure.main/report-error

(report-error [t & {:keys [target], :or {target "file"}, :as opts}])
Create and output an exception report for a Throwable to target. Options: :target - "file" (default), "stderr", "none" If file is specified but cannot be written, falls back to stderr.

No examples yet. Be the first to add one!