How to Install and Uninstall perl-Class-ErrorHandler Package on openSuSE Tumbleweed

Last updated: November 23,2024

1. Install "perl-Class-ErrorHandler" package

Please follow the guidelines below to install perl-Class-ErrorHandler on openSuSE Tumbleweed

$ sudo zypper refresh $ sudo zypper install perl-Class-ErrorHandler

2. Uninstall "perl-Class-ErrorHandler" package

This is a short guide on how to uninstall perl-Class-ErrorHandler on openSuSE Tumbleweed:

$ sudo zypper remove perl-Class-ErrorHandler

3. Information about the perl-Class-ErrorHandler package on openSuSE Tumbleweed

Information for package perl-Class-ErrorHandler:
------------------------------------------------
Repository : openSUSE-Tumbleweed-Oss
Name : perl-Class-ErrorHandler
Version : 0.04-1.22
Arch : noarch
Vendor : openSUSE
Installed Size : 24.5 KiB
Installed : No
Status : not installed
Source package : perl-Class-ErrorHandler-0.04-1.22.src
Upstream URL : http://search.cpan.org/dist/Class-ErrorHandler/
Summary : Base class for error handling
Description :
_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.