On Sun, 05 Oct 2014 16:47:26 +0000 Dicebot via Digitalmars-d <[email protected]> wrote:
> Pretty much only reason `Error` is not equivalent to plain > `abort` call is to allow some last resort debbugging dump and > provide more meaningful information about the failure. than it was done very wrong. it's ok to have some arcane chain of "error handlers" in runtime, 'cause writing such handlers is not the kind of task people do often. but allowing to throw Error as any other exception or to catch Error the same way other exceptions can be catched is misleading. any sane person will think about Error as just another kind of Exception, just with different naming. there must be separate case for Errors, something like "final throw", which will not do ANY unwinding, cannot be catched, and just calling "error handlers chain" and aborts. it's not enough to just paint a duck.
signature.asc
Description: PGP signature
