You're viewing version 1.2.0 of repl-exception. The latest stable version of Clojure Core is 1.3.0.
1.2.0 Arrow_down_16x16

repl-exception

clojure.main

  • (repl-exception throwable)
Returns CompilerExceptions in tact, but only the root cause of other
throwables

0 Examples top

Log in to add / edit an example.

See Also top

Log in to add a see also.

Plus_12x12 Minus_12x12 Source clojure/main.clj:105 top

(defn repl-exception
  "Returns CompilerExceptions in tact, but only the root cause of other
  throwables"
  [throwable]
  (if (instance? Compiler$CompilerException throwable)
    throwable
    (root-cause throwable)))
Vars in clojure.main/repl-exception: defn instance?
Used in 0 other vars

Comments top

No comments for repl-exception. Log in to add a comment.