Module that allows you to declare real exception classes in Perl
*RECOMMENDATION 1*: If you are writing modern Perl code with Moose or Moo I
highly recommend using Throwable instead of this module.
*RECOMMENDATION 2*: Whether or not you use Throwable, you should use
Exception::Class allows you to declare exception hierarchies in your
modules in a "Java-esque" manner.
It features a simple interface allowing programmers to 'declare' exception
classes at compile time. It also has a base exception class,
Exception::Class::Base, that can be easily extended.
It is designed to make structured exception handling simpler and better by
encouraging people to use hierarchies of exceptions in their applications,
as opposed to a single catch-all exception class.
This module does not implement any try/catch syntax. Please see the "OTHER
EXCEPTION MODULES (try/catch syntax)" section for more information on how
to get this syntax.
You will also want to look at the documentation for Exception::Class::Base,
which is the default base class for all exception objects created by this
There is no official package available for openSUSE Leap 15.4