Open
Description
For now, for the following code:
(def e (js/Error. "test string"))
;; 1
(bean/e)
;; 2
(->clj/e)
- gives
{:clojure$core$protocols$Datafiable$ #js {}, :clojure$core$protocols$Datafiable$datafy$arity$1 #object[Function]
- gives
#object[Error Error: test string]
Would be better if it can give things like
{"message":foo, "line":foo, "column":foo, "stack":foo}
Metadata
Assignees
Labels
No labels
Activity