How to Install and Uninstall perl-Class-ErrorHandler Package on openSUSE Leap

Last updated: May 19,2024

1. Install "perl-Class-ErrorHandler" package

This guide let you learn how to install perl-Class-ErrorHandler on openSUSE Leap

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

2. Uninstall "perl-Class-ErrorHandler" package

Here is a brief guide to show you how to uninstall perl-Class-ErrorHandler on openSUSE Leap:

$ sudo zypper remove perl-Class-ErrorHandler

3. Information about the perl-Class-ErrorHandler package on openSUSE Leap

Information for package perl-Class-ErrorHandler:
------------------------------------------------
Repository : Main Repository
Name : perl-Class-ErrorHandler
Version : 0.04-bp155.2.10
Arch : noarch
Vendor : openSUSE
Installed Size : 24.7 KiB
Installed : No
Status : not installed
Source package : perl-Class-ErrorHandler-0.04-bp155.2.10.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.