On Sun, Oct 29, 2006 at 06:13:27PM -0800, Wim Lewis wrote:
> I decided to take a stab at adding error checking to the exec calls  
> in 'Dist', but I have a question: when a subprocess fails (exits  
> nonzero), would it be better to raise an ExecException, or to raise  
> an ioError?

The other "top level commands" just:

  fail "Couldn't foo bar"

when something doesn't go their way. I don't know if that's the
best way, but at least it's accepted and practiced.


-- 
Tommy Pettersson <[EMAIL PROTECTED]>

_______________________________________________
darcs-devel mailing list
[email protected]
http://www.abridgegame.org/cgi-bin/mailman/listinfo/darcs-devel

Reply via email to