[phobos] Exceptions in Phobos
Lars Tandle Kyllingstad
lars at kyllingen.net
Mon Feb 11 22:46:47 PST 2013
Hi,
Some time last year, I noticed there was at least one huge discussion
about exceptions, and about how Phobos' exception hierarchy should be
structured. Did that discussion lead to any conclusions, or any kind of
consensus? (Please don't make me read through hundreds of old forum
messages; I'm just looking for a quick summary.)
The reason I'm asking is that I'm putting the final polish on the new
std.process(*), and I need to decide whether each function should simply
throw Exception on failure, or whether some of them should throw more
specialised exceptions.
Lars
(*) Yes, I know, I've said this before. But it's for real this time;
look, all tests are green:
http://d.puremagic.com/test-results/pull-history.ghtml?projectid=1&repoid=3&pullid=1100
:)
More information about the phobos
mailing list