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
Package Version | Update ID | Released | Package Hub Version | Platforms | Subpackages |
---|---|---|---|---|---|
0.2501-bp156.4.1 info | GA Release | 2023-09-07 | 15 SP6 |
|
|
0.2501-bp155.2.8 info | GA Release | 2023-05-17 | 15 SP5 |
|
|
0.2501-bp154.1.18 info | GA Release | 2022-05-09 | 15 SP4 |
|
|
0.2501-bp153.1.12 info | GA Release | 2021-03-06 | 15 SP3 |
|
|
0.2501-bp152.3.16 info | GA Release | 2020-04-16 | 15 SP2 |
|
|
0.2501-bp151.3.1 info | GA Release | 2019-07-16 | 15 SP1 |
|
|
0.2501-bp151.2.12 info | GA Release | 2019-05-18 | 15 SP1 |
|
|
0.2501-bp150.2.4 info | GA Release | 2018-07-30 | 15 |
|
|