This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2019-10-04
Channels
- # aleph (10)
- # announcements (2)
- # babashka (2)
- # beginners (101)
- # calva (17)
- # cider (11)
- # clara (6)
- # clj-kondo (25)
- # cljsrn (33)
- # clojure (181)
- # clojure-dev (15)
- # clojure-europe (3)
- # clojure-italy (4)
- # clojure-nl (8)
- # clojure-uk (22)
- # clojurescript (111)
- # clojutre (58)
- # cursive (31)
- # data-science (1)
- # datomic (10)
- # emacs (6)
- # ethereum (1)
- # fulcro (20)
- # graalvm (3)
- # jackdaw (5)
- # leiningen (5)
- # off-topic (31)
- # re-frame (2)
- # reitit (10)
- # shadow-cljs (9)
- # spacemacs (16)
- # sql (8)
- # tools-deps (16)
- # vim (17)
bb master now has throw:
$ bb '(throw (ex-info "dude" {:a 1}))'
clojure.lang.ExceptionInfo: dude [at line 1, column 1]
nice! it worked here on linux too (i presume you removed the extra lines?):
$ bb '(throw (ex-info "dude" {:a 1}))'
clojure.lang.ExceptionInfo: dude [at line 1, column 1]
{:type :sci/error, :row 1, :col 1, :a 1}
at sci.impl.utils$re_throw_with_location_of_node.invokeStatic (utils.cljc:63)
sci.impl.interpreter$eval_do$fn__8100.invoke (interpreter.cljc:62)
sci.impl.interpreter$eval_do.invokeStatic (interpreter.cljc:62)
sci.impl.interpreter$eval_string.invokeStatic (interpreter.cljc:348)
sci.core$eval_string.invokeStatic (core.cljc:5)
babashka.main$main$fn__8611.invoke (main.clj:231)
babashka.main$main.invokeStatic (main.clj:224)
babashka.main$main.doInvoke (main.clj:170)
clojure.lang.RestFn.applyTo (RestFn.java:137)
clojure.core$apply.invokeStatic (core.clj:665)
babashka.main$_main.invokeStatic (main.clj:262)
babashka.main$_main.doInvoke (main.clj:262)
clojure.lang.RestFn.applyTo (RestFn.java:137)
babashka.main.main (:-1)