*e

dynamic varsince v0.0-2814 clojure.core/*eEdit

Holds the result of the last exception. REPL only


Examples:

(defn cause-error []
  (throw "Error: something went wrong"))

(cause-error)
;; Error: something went wrong

*e
;;=> "Error: something went wrong"

See Also:


Source docstring:
bound in a repl thread to the most recent exception caught by the repl
Source code @ clojurescript:src/main/cljs/cljs/core.cljs
(def
  ^{:dynamic true}
  *e)