Skip to main content
Home
Docs
Courses
Workshops
Jobs
Podcast
Sign in
Docs
Reference
Clojure
clojure.core
ex-message
ex-message
function
v1.10
clojure.core/ex-message
Available in:
BB
CLJ
CLJS
(
ex-message
[
ex
]
)
Returns the message attached to ex if ex is a Throwable. 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-cause
ex-data
ex-info
finally
throw
try
View source on GitHub ↗
← ex-info
extend →
All
⌘1
Clojure
⌘2
ClojureScript
⌘3
Babashka
⌘4