The Right Approach to Exceptions

Timon Gehr timon.gehr at gmx.ch
Sun Feb 19 05:37:39 PST 2012


On 02/18/2012 07:52 PM, Andrei Alexandrescu wrote:
> There's a discussion that started in a pull request:
>
> https://github.com/alexrp/phobos/commit/4b87dcf39efeb4ddafe8fe99a0ef9a529c0dcaca
>
>
> Let's come up with a good doctrine for exception defining and handling
> in Phobos. From experience I humbly submit that catching by type is most
> of the time useless.
>
>
> Andrei

Would giving std.concurrency.OwnerTerminated and 
std.concurrency.LinkTerminated a common supertype make sense?


More information about the Digitalmars-d mailing list