in reply to Re: Error codes vs die exceptions vs ...
in thread Error codes vs die exceptions vs ...
... what I like about your approach is that you can distinguish between different exception classes ( literally so)
> Exception handling allows error handling in localised and easily recognised places
Well I seem to remember that exception handling needs to propagate too, if the class can't be handled locally.
Cheers Rolf
(addicted to the Perl Programming Language :)
Wikisyntax for the Monastery
FootballPerl is like chess, only without the dice
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: Error codes vs die exceptions vs ...
by GrandFather (Saint) on Jul 07, 2019 at 12:25 UTC | |
by LanX (Saint) on Jul 07, 2019 at 14:19 UTC | |
by haj (Vicar) on Jul 07, 2019 at 19:21 UTC | |
by holli (Abbot) on Jul 07, 2019 at 14:27 UTC | |
by haukex (Archbishop) on Jul 07, 2019 at 14:38 UTC |