Program logic bugs vs input/environmental errors (checked exceptions)

David Nadlinger via Digitalmars-d digitalmars-d at puremagic.com
Fri Oct 3 05:36:49 PDT 2014


On Thursday, 2 October 2014 at 06:39:17 UTC, Jacob Carlborg wrote:
> On 02/10/14 01:19, David Nadlinger wrote:
>
>> What are you referring to specifically? Compared to Tango, 
>> yes, Phobos
>> might have a lot fewer concrete exception types. But I don't 
>> recall actually eliminating existing ones.
>
> It happens implicitly when using "enforce".

I'm well aware of that. But as

On Wednesday, 1 October 2014 at 23:00:41 UTC, Sean Kelly wrote:
> ...while in Phobos, most of the subtyped exceptions were
> eliminated a while back in favor of just always throwing
> Exception.

you are saying that specific exceptions were replaced by enforce? 
I can't recall something like this happening.

David


More information about the Digitalmars-d mailing list