Hi.
There are a bunch of calls to Util.runtimeException("msgHere") which can be
replaced with Util.runtimeException("msgHere", e); where e is the exception
just caught (aka the cause), for example here:
https://github.com/clojure/clojure/blob/master/src/jvm/clojure/lang/Compiler.java#L4570

and here's a case where this particular thing would've maybe been more
useful:
https://groups.google.com/d/msg/clojure/MIKccMX9gvk/ULv4AjqdNQEJ
but granted that isn't much more helpful in this particular case, but I see
no reason why to not include the cause exception like that.


On Thu, Jan 24, 2013 at 8:27 PM, Michael Klishin <
michael.s.klis...@gmail.com> wrote:

> There is a discussion about Clojure error messages and how
> specifically they can be improved on clojure-dev:
> https://groups.google.com/forum/?fromgroups=#!topic/clojure-dev/9zjXebUMgzk
>
> Because poor error messages primarily trip newcomers to the language,
> I am a bit surprised to see this issue discussed on the closed
> mailing list said beginners cannot join [quickly or at all].
>
> So, if you have something specific to say on the topic, say it here.
> --
> MK
>
> http://github.com/michaelklishin
> http://twitter.com/michaelklishin
>
> --
> --
> 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


Reply via email to