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