Re: Error.pm and try/catch/throw



In article
<BLOCKSPAMfishfry-D36AD2.22540220072005@xxxxxxxxxxxxxxxxxxxxxxxx>,
fishfry <BLOCKSPAMfishfry@xxxxxxxxxxxxxxxx> wrote:

> Is Error.pm the standard way to do error handling these days? Or at
> least *a* standard way?
>
> Are there any standard or popular libraries of exceptions, or should I
> just write my own Error.pm subclasses?

No responses? I was just curious to know what kind of error handling
people do. It seems to me that the try/catch/throw method is an
improvement to the old days of checking error returns and trying to pass
the right amount of error detail info upstairs to callers. I know how to
use eval and die handlers.

Do most serious Perl programmers use one method or another of handling
errors, and if so, what?
.



Relevant Pages

  • Re: Error Raising and Memory in VB (general question)
    ... what is your standard to hanlde errors? ... memory releasing, recordset closing etc.. ... Windows-API style of error handling. ... MsgBoxLog is a more interesting thing, it is declared almost exactly as the ...
    (microsoft.public.vb.general.discussion)
  • Re: Error handling
    ... >I've seen that standard C functions use -1 for error, modifying errno, ... my error handling and bypassing is not very ... For those functions which return an error indication, ... specifies what that indication is on a function by function basis. ...
    (comp.lang.c)
  • Re: security enhacement to C runtime library (XXX_s)
    ... it's not related to the standard C. ... never specifies error handling in a detailed way. ... to make some library functions safe, ... Probably link error with libraries that use different implementations? ...
    (comp.std.c)
  • Re: VBA code to close an Access user notification message
    ... assumed it was the standard "action was canceled" message. ... Access message box that tells me the 2nd report was cancelled. ... error handling code in the button's Click event. ... Sub yourbutton_Click ...
    (microsoft.public.access.modulesdaovba)
  • Re: Error.pm and try/catch/throw
    ... Are there any standard or popular libraries of exceptions, or should I just write my own Error.pm subclasses? ... No responses? ... I was just curious to know what kind of error handling people do. ... It seems to me that the try/catch/throw method is an improvement to the old days of checking error returns and trying to pass the right amount of error detail info upstairs to callers. ...
    (comp.lang.perl.misc)