Back

root-cause (clj)

(source)

function

(root-cause t)
Returns the initial cause of an exception or error by peeling off all of its wrappers

Examples

cognitect/clojure-lab
;; @@
(require '[clojure.repl :refer :all])
;; @@

;; @@
(dir clojure.repl)
;; @@
;; ->
;;; apropos
;;; demunge
;;; dir
;;; dir-fn
;;; doc
;;; find-doc
;;; pst
;;; root-cause
;;; set-break-handler!
;;; source
;;; source-fn
;;; stack-element-str
;;; thread-stopper
;;; 
;; <-
;; =>
;;; {"type":"html","content":"<span class='clj-nil'>nil</span>","value":"nil"}
;; <=