Home > Repository > base > perl-Class-ErrorHandler (x86_64)
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 |
Architettura: | x86_64 |
Gruppo: | System/Libraries/Perl |
Dimensione: | 11,45 kB |
URL di origine: | https://www.cpan.org/ |
RPM sorgente: | perl-Class-ErrorHandler |
Collegati | Fornisce | Rende obsoleti | Richiede | Raccomanda |
---|
| perl(Class::ErrorHandler) = 0:0.04 perl-Class-ErrorHandler = 0:0.04-1mamba perl-Class-ErrorHandler(x86-64) = 0:0.04-1mamba
| | perl >= 0:5.24.0 [1] perl(strict) [1] perl(vars) [1]
| |
File forniti/usr/lib/perl5/vendor_perl/5.24.4/Class/ErrorHandler.pm
/usr/lib/perl5/vendor_perl/5.24.4/x86_64-linux-thread-multi/auto/Class/ErrorHandler
/usr/share/man/man3/Class::ErrorHandler.3pm.gz