Phobos std.conv.convError ...

nescire example at example.org
Thu Mar 8 10:45:18 PST 2007


Rigth from the doc:

class ConvError : object.Error {...}
Thrown on conversion errors, which happens on deviation from the grammar.

class ConvOverflowError : object.Error {...}
Thrown on conversion overflow errors.

Why from Error? A string parsing failure is recoverable; shouldn't these derive from Exception instead?


More information about the Digitalmars-d-bugs mailing list