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.

There is no official package available for openSUSE Leap 15.5

Distributions

openSUSE Tumbleweed

openSUSE Leap 15.6

openSUSE Leap 15.5

openSUSE Leap 15.4

RedHat RHEL-7

CentOS CentOS-7

Unsupported distributions

The following distributions are not officially supported. Use these packages at your own risk.