Skip to main content
Home
Docs
Courses
Workshops
Jobs
Podcast
Sign in
Docs
Reference
ClojureScript
cljs.core
ex-cause
ex-cause
function
v1.7
cljs.core/ex-cause
Available in:
BB
CLJ
CLJS
(
ex-cause
[
ex
]
)
Returns exception cause (an Error / ExceptionInfo) if ex is an ExceptionInfo. Otherwise returns nil.
Examples
Sign in to contribute
Code
Platforms
Clojure
ClojureScript
Babashka
Submit
Cancel
No examples yet. Be the first to add one!
Categories
Control Flow › Exceptions
See Also
Throwable->map
catch
ex-data
ex-info
ex-message
finally
throw
try
← every?
ex-data →
All
⌘1
Clojure
⌘2
ClojureScript
⌘3
Babashka
⌘4