Welcome! Please see the About page for a little more info on how this works.

0 votes
in ClojureScript by

ex-info/ex-data/ex-message didn't get a lot of attention in CLJS community, still I find quiet often (js/Error. "Err"). I guess the main reason is that we cannot pass ex-info object back to JS world, clj->js doesn't work in this case. We can solve it by adding helper like ex->js which will convert ex-info backward to js/Error.

What do you think about such enhancement? I can add patch later if you would find it useful

1 Answer

0 votes
by
Reference: https://clojure.atlassian.net/browse/CLJS-1771 (reported by artemyarulin)
...