Home > Repository > base > perl-Class-ErrorHandler

perl-Class-ErrorHandler: Class::ErrorHandler - Base class for error handling

Class::ErrorHandler provides an error-handling mechanism that's generic enough to be used as the base class for a variety of OO classes.
Subclasses inherit its two error-handling methods, error and errstr, to communicate error messages back to the calling program.

On failure (for whatever reason), a subclass should call error and return to the caller; error itself sets the error message internally, then returns undef.
This has the effect of the method that failed returning undef to the caller.
The caller should check for errors by checking for a return value of undef, and calling errstr to get the value of the error message on an error.
Nome:perl-Class-ErrorHandler
Versione: 0.04-1mamba
Gruppo:System/Libraries/Perl
Manutentore:silvan
Licenza:Artistic, GPL
Dimensione:18,58 kB
URL di origine:https://www.cpan.org/
Data di compilazione:2021-05-16 20:19:47
Pacchetti binari e dipendenze
x86_64i586
RPM creatiperl-Class-ErrorHandler
perl-Class-ErrorHandler
Dipendenze di compilazioneperl-Module-Build [1]
perl-devel [1]
perl-devel[>=0:5.24.0] [1]
perl-Module-Build [1]
perl-devel [1]
perl-devel[>=0:5.24.0] [1]
Cronologia delle modifiche
DataPackagerVersioneDescrizione
2021-05-16autodist0.04-1mamba- automatic version update by autodist
2013-12-15autodist0.03-1mamba- automatic update by autodist
2013-04-30autodist0.02-1mamba- automatic version update by autodist
2008-11-04silvan0.01-2mamba- automatic rebuild by autodist
2007-08-29stefano0.01-1mamba- package created by autospec