ex-data

functionsince v0.0-1576 clojure.core/ex-dataEdit
(ex-data ex)

Source docstring:
Returns exception data (a map) if ex is an ExceptionInfo.
Otherwise returns nil.
Source code @ clojurescript:src/main/cljs/cljs/core.cljs
(defn ex-data
  [ex]
  (when (instance? ExceptionInfo ex)
    (.-data ex)))