More exception classes into Phobos?
rikki cattermole via Digitalmars-d
digitalmars-d at puremagic.com
Thu Mar 23 03:26:38 PDT 2017
On 23/03/2017 11:20 PM, Георгий wrote:
> On Thursday, 23 March 2017 at 09:48:54 UTC, Jonathan M Davis wrote:
>> On Thursday, March 23, 2017 09:31:23 Георгий via Digitalmars-d wrote:
>>
>> If a function exists but has no implementation yet, it should use
>> assert(0).
>
> I didn't know that.
That will throw an AssertError. You should try not to catch Error's.
So there still needs to be an exception of some kind.
More information about the Digitalmars-d
mailing list