https://github.com/clojure/clojurescript/blob/master/src/cljs/clojure/reflect.cljs#L7 https://github.com/clojure/clojurescript/blob/master/src/cljs/clojure/browser/repl.cljs#L30
Looks implemented and it's same as in clojure ... What do you think? On Wed, Oct 31, 2012 at 9:31 AM, xiefei <heliu.s...@gmail.com> wrote: > followed strategy #1 explained > here<https://github.com/clojure/clojurescript/wiki/Exception-Handling> to > write (try ... (catch e ...)) and (try ... (catch _ ...)) , no luck. > The compiler says "unsupported bind form". Maybe this construct just not > implemented now. > > 在 2012年9月27日星期四UTC+8下午11时08分22秒,Dima B写道: >> >> Hi, >> >> I came to the point where I need to be able to catch all javascript >> exceptions, log them down and swallow. I've been trying to achieve this by >> >> (try ... (catch Exception e ...)) >> (try ... (catch nil e ...)) >> (try ... (catch js/object e ...)) >> >> and nothing seems to do the trick. >> >> Could you please help me find the syntax which allows me to catch and >> swallow all exceptions in clojurescript? >> I'm using all latest (clojurescript via cljsbuild). >> >> Thank you, >> Dima >> >> -- > You received this message because you are subscribed to the Google > Groups "Clojure" group. > To post to this group, send email to clojure@googlegroups.com > Note that posts from new members are moderated - please be patient with > your first post. > To unsubscribe from this group, send email to > clojure+unsubscr...@googlegroups.com > For more options, visit this group at > http://groups.google.com/group/clojure?hl=en -- I may be wrong or incomplete. Please express any corrections / additions, they are encouraged and appreciated. At least one entity is bound to be transformed if you do ;) -- You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, send email to clojure@googlegroups.com Note that posts from new members are moderated - please be patient with your first post. To unsubscribe from this group, send email to clojure+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/clojure?hl=en