dynamic var | since v0.0-2814 | clojure.core/*e | Edit |
Holds the result of the last exception. REPL only
(defn cause-error []
(throw "Error: something went wrong"))
(cause-error)
;; Error: something went wrong
*e
;;=> "Error: something went wrong"
bound in a repl thread to the most recent exception caught by the repl
(def
^{:dynamic true}
*e)