(exception? x)Returns true if x is a Clojure Throwable or ClojureScript js/Error
Returns `true` if x is a Clojure Throwable or ClojureScript js/Error
(throw-if-throwable ex)Throw ex if it's an exception. Retains the message, data, and cause
Throw ex if it's an exception. Retains the message, data, and cause
cljdoc builds & hosts documentation for Clojure/Script libraries
| Ctrl+k | Jump to recent docs |
| ← | Move to previous article |
| → | Move to next article |
| Ctrl+/ | Jump to the search field |