| 1 |
Source: libexception-class-trycatch-perl |
| 2 |
Maintainer: Debian Perl Group <[email protected]> |
| 3 |
Section: perl |
| 4 |
Testsuite: autopkgtest-pkg-perl |
| 5 |
Priority: optional |
| 6 |
Build-Depends: debhelper-compat (= 13) |
| 7 |
Build-Depends-Indep: perl, |
| 8 |
libexception-class-perl |
| 9 |
Standards-Version: 3.9.5 |
| 10 |
Vcs-Browser: https://salsa.debian.org/perl-team/modules/packages/libexception-class-trycatch-perl |
| 11 |
Vcs-Git: https://salsa.debian.org/perl-team/modules/packages/libexception-class-trycatch-perl.git |
| 12 |
Homepage: https://metacpan.org/release/Exception-Class-TryCatch |
| 13 |
|
| 14 |
Package: libexception-class-trycatch-perl |
| 15 |
Architecture: all |
| 16 |
Depends: perl, |
| 17 |
${misc:Depends}, |
| 18 |
libexception-class-perl |
| 19 |
Description: syntactic try/catch sugar for use with Exception::Class |
| 20 |
Exception::Class::TryCatch provides syntactic sugar for use with |
| 21 |
Exception::Class using the familiar keywords try and catch. Its |
| 22 |
primary objective is to allow users to avoid dealing directly with $@ by |
| 23 |
ensuring that any exceptions caught in an eval are captured as |
| 24 |
Exception::Class objects, whether they were thrown objects to begin with or |
| 25 |
whether the error resulted from die. This means that users may immediately |
| 26 |
use isa and various Exception::Class methods to process the exception. |
| 27 |
. |
| 28 |
In addition, this module provides for a method to push errors onto a hidden |
| 29 |
error stack immediately after an eval so that cleanup code or other error |
| 30 |
handling may also call eval without the original error in $@ being lost. |