Formal Review of std.process

Jacob Carlborg doob at me.com
Thu Apr 11 11:20:02 PDT 2013


On 2013-04-11 17:43, Steven Schveighoffer wrote:
> A couple minor comments:
>
> 1. I have two issues with Error being used.  One is that we should have
> a specific type that is thrown, not raw Error type.  Second is that I
> think in situations where the error is due to an incorrect parameter, it
> should be an exception not an error (and not a straight Exception either!).

Does it throw an Error, that's bad. Code should basically never create 
and throw an Error or Exception. It should always be a derived type from 
either of these classes.

-- 
/Jacob Carlborg


More information about the Digitalmars-d mailing list