[dmd-internals] Throwing Errors

Jesse Phillips jesse.k.phillips at gmail.com
Wed Mar 14 16:52:51 PDT 2012


> If you're throwing recoverable exceptions in your debug code, make them
> derived from Exception, not Error.

Contracts aren't supposed to throw Exceptions as you can't rely on
them for program flow.


More information about the dmd-internals mailing list