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.

沒有可用的 openSUSE Leap 15.5 官方套件

發行版

openSUSE Tumbleweed

openSUSE Leap 15.6

openSUSE Leap 15.5

openSUSE Leap 15.4

RedHat RHEL-7

CentOS CentOS-7

不支援的發行版本

下列發行版本並未被官方支援。使用這些套件需要自行承擔風險。