(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 is a website building & hosting documentation for Clojure/Script libraries
× close