I kind of forgot about user defined exceptions containing useful things. 
Good point. Deployed this adjustment to dire-0.1.0 with commit 
https://github.com/MichaelDrogalis/dire/commit/4a493e85ca88dd59806651264103de53a2879b66

On Friday, December 28, 2012 3:32:41 PM UTC-5, Craig Brozefsky wrote:
>
> Michael Drogalis <madru...@gmail.com <javascript:>> writes: 
>
> >    Perhaps. Is there anything in the exception object that is useful? I 
> >    passed on it because the implementer of a handler already knows what 
> >    exception occurred. I'm happy to pass it as an argument if we have 
> good 
> >    reasons for it. 
>
> If my handler is going to log error details for later debuggery? 
>
> If my restart or other aspect of handling it depends on a detail of the 
> failure, like the schema of the URL that I couldn't request... 
>
> Basically, nearly all of my current error handling logic assumes I have 
> access to the exception.  Without this, I have almost no hope of 
> translating them to dire. 
>
> -- 
> Craig Brozefsky <cr...@red-bean.com <javascript:>> 
> Premature reification is the root of all evil 
>

-- 
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