cljs.repl/Error->map

functionsince v1.10.514Edit
(Error->map o)

Source docstring:
Constructs a data representation for a Error with keys:
 :cause - root cause message
 :phase - error phase
 :via - cause chain, with cause keys:
          :type - exception class symbol
          :message - exception message
          :data - ex-data
          :at - top stack element
 :trace - root cause stack elements
Source code @ clojurescript:src/main/cljs/cljs/repl.cljs
(defn Error->map
  [o]
  (Throwable->map o))