Lightweight exceptions

Edit Package perl-Exception-Base
https://metacpan.org/release/Exception-Base

This class implements a fully OO exception mechanism similar to Exception::Class or Class::Throwable. It provides a simple interface allowing programmers to declare exception classes. These classes can be thrown and caught. Each uncaught exception prints full stack trace if the default verbosity is increased for debugging purposes.

The features of 'Exception::Base':
* fast implementation of the exception class
* fully OO without closures and source code filtering
* does not mess with '$SIG{__DIE__}' and '$SIG{__WARN__}'
* no external run-time modules dependencies, requires core Perl modules only
* the default behavior of exception class can be changed globally or just for the thrown exception
* matching the exception by class, message or other attributes
* matching with string, regex or closure function
* creating automatically the derived exception classes (perlfunc/use interface)
* easily expendable, see Exception::System class for example
* prints just an error message or dumps full stack trace
* can propagate (rethrow) an exception
* can ignore some packages for stack trace output
* some defaults (i.e. verbosity) can be different for different exceptions

Refresh
Refresh
Source Files (show unmerged sources)
Filename Size Changed
Exception-Base-0.2501.tar.gz 0000059965 58.6 KB
cpanspec.yml 0000000654 654 Bytes
fix_perl538.patch 0000000430 430 Bytes
perl-Exception-Base.changes 0000001026 1 KB
perl-Exception-Base.spec 0000003010 2.94 KB
Latest Revision
buildservice-autocommit accepted request 1102848 from Dirk Stoecker's avatar Dirk Stoecker (dstoecker) (revision 13)
baserev update by copy to link target
Comments 0
openSUSE Build Service is sponsored by