Program logic bugs vs input/environmental errors
Sean Kelly via Digitalmars-d
digitalmars-d at puremagic.com
Mon Oct 27 13:54:18 PDT 2014
On Friday, 24 October 2014 at 19:09:23 UTC, Walter Bright wrote:
>
> You can insert your own handler with
> core.assertHandler(myAssertHandler). Or you can catch(Error).
> But you don't want to try doing anything more than notification
> with that - the program is in an unknown state.
Also be aware that if you throw an Exception from the
assertHandler you could be violating nothrow guarantees.
More information about the Digitalmars-d
mailing list