This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2018-02-27
Channels
- # aleph (7)
- # beginners (80)
- # boot (1)
- # cider (3)
- # cljs-dev (277)
- # cljsjs (52)
- # cljsrn (1)
- # clojure (69)
- # clojure-gamedev (4)
- # clojure-italy (1)
- # clojure-losangeles (2)
- # clojure-russia (89)
- # clojure-spec (92)
- # clojure-uk (196)
- # clojured (1)
- # clojurescript (70)
- # cursive (5)
- # data-science (1)
- # datascript (84)
- # datomic (9)
- # defnpodcast (12)
- # docker (1)
- # emacs (4)
- # events (1)
- # fulcro (112)
- # graphql (1)
- # jobs (1)
- # lumo (1)
- # nrepl (21)
- # off-topic (2)
- # onyx (3)
- # protorepl (10)
- # re-frame (23)
- # reagent (66)
- # reitit (2)
- # rum (13)
- # shadow-cljs (144)
- # spacemacs (14)
- # sql (4)
- # unrepl (29)
- # vim (16)
@hiredman are you thinking of bencode?
it catches exceptions when evaling and sends them back as the error nrepl message with stirng values
likely the easiest thing to do would be to have your middleware watch for error nrepl messages and then eval *1 to get the error object (before pr-values)
this is invaluable to me.
Thank you very much
okay, follow up question. I have never seen a :ex
keyword in a response, it's always been a string in :err
what makes :err
okay, and I have messages coming back with :err
, so and no :ex
so I did not think it was that simple
and running code can do it at anytime without bubbling up an exception anywhere, or even throwing an exception
yes! this was exactly what I needed. Thank you very much @hiredman