http://qs321.pair.com?node_id=11102500


in reply to Re^4: Error codes vs die exceptions vs ...
in thread Error codes vs die exceptions vs ...

In Perl, yes. It's different for most strongly typed languages though I believe. There an exception bubbles up the stack of error handlers until it reaches one that feels responsible for it. Or none, but then it crashes the program.


holli

You can lead your users to water, but alas, you cannot drown them.

Replies are listed 'Best First'.
Re^6: Error codes vs die exceptions vs ...
by haukex (Archbishop) on Jul 07, 2019 at 14:38 UTC