Debian Codegraph @

debian/control

raw symbols SCIP
1 Source: liberror-perl
2 Maintainer: Debian Perl Group <[email protected]>
3 Uploaders: gregor herrmann <[email protected]>
4 Section: perl
5 Testsuite: autopkgtest-pkg-perl
6 Priority: optional
7 Build-Depends: debhelper-compat (= 13),
8 libmodule-build-perl
9 Build-Depends-Indep: perl
10 Standards-Version: 4.7.2
11 Vcs-Browser: https://salsa.debian.org/perl-team/modules/packages/liberror-perl
12 Vcs-Git: https://salsa.debian.org/perl-team/modules/packages/liberror-perl.git
13 Homepage: https://metacpan.org/release/Error
14 Rules-Requires-Root: no
15
16 Package: liberror-perl
17 Architecture: all
18 Multi-Arch: foreign
19 Depends: ${misc:Depends},
20 ${perl:Depends}
21 Description: Perl module for error/exception handling in an OO-ish way
22 The Error module provides two interfaces. Firstly "Error" provides a
23 procedural interface to exception handling. Secondly "Error" is a base class
24 for errors/exceptions that can either be thrown, for subsequent catch, or can
25 simply be recorded.
26 .
27 Errors in the class "Error" should not be thrown directly, but the user
28 should throw errors from a sub-class of "Error".
29 .
30 Warning: Using the "Error" module is no longer recommended due to the
31 black-magical nature of its syntactic sugar, which often tends to break. Its
32 maintainers have stopped actively writing code that uses it, and discourage
33 people from doing so.
34 .
35 Recommended alternatives are Exception::Class (libexception-class-perl),
36 Error::Exception (not packaged), TryCatch (libtrycatch-perl), and Try::Tiny
37 (libtry-tiny-perl).