ClojureDocs

Nav

Namespaces

Take the 2025 State of Clojure Survey! Help shape the future of Clojure. Take Survey →

ex-cause

clojure.core

Available since 1.10 (source)
  • (ex-cause ex)
Returns the cause of ex if ex is a Throwable.
Otherwise returns nil.