The Right Approach to Exceptions

Andrei Alexandrescu SeeWebsiteForEmail at erdani.org
Sun Feb 19 07:53:47 PST 2012


On 2/19/12 7:37 AM, Timon Gehr wrote:
> 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?

I am not sure.

Andrei


More information about the Digitalmars-d mailing list