perl-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. As demonstrated in the the SYNOPSIS manpage, _error_ and _errstr_ work as both class methods and object methods.

Není dostupný žádný oficiální balíček pro openSUSE Leap 15.5

Distribuce

openSUSE Tumbleweed

openSUSE Leap 15.6

openSUSE Leap 15.5

openSUSE Leap 15.4

RedHat RHEL-7

isv:perlur:epel Experimentální
0.03

CentOS CentOS-7

Nepodporované distribuce

Následující distribuce nejsou oficiálně podporovány. Použijte tyto balíčky na vlastní nebezpečí.