Thread overview
Exception class descendants
Oct 29, 2012
ref2401
Oct 29, 2012
bearophile
Oct 29, 2012
Jonathan M Davis
October 29, 2012
Could you please tell me if Phobos contains any Exception class descendants? If so, does the documentation contain a full list of these or even the hierarchy scheme?


October 29, 2012
ref2401:

> Could you please tell me if Phobos contains any Exception class descendants?

Andrei doesn't lover of hierarchies of exceptions. But there was a discussion to add some commonly useful exceptions to Phobos.

Bye,
bearophile
October 29, 2012
On Monday, October 29, 2012 14:55:41 ref2401 wrote:
> Could you please tell me if Phobos contains any Exception class descendants? If so, does the documentation contain a full list of these or even the hierarchy scheme?

Some modules declare exception types that they use (e.g. std.file.FileException and std.utf.UTFException), but there are very few which aren't derived directly from Exception, and for the most part, they're only used by the module which declares them. There was some discussion a while back of improving  the hierarchy a bit, but it's never happened.

- Jonathan M Davis