Lightweight exceptions
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
- Sources inherited from project devel:languages:perl
- Devel package for openSUSE:Factory
- Links to openSUSE:Factory / perl-Exception-Base
- Has a link diff
- Download package
-
Checkout Package
osc -A https://api.opensuse.org checkout home:Tomcat42/perl-Exception-Base && cd $_
- Create Badge
Source Files
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 |
Revision 10 (latest revision is 13)
baserev update by copy to link target
Comments 0