1Devel::Confess::BuiltinU(s3e)r Contributed Perl DocumentaDteivoenl::Confess::Builtin(3)
2
3
4

NAME

6       Devel::Confess::Builtin - Enable built in stack traces on exception
7       objects
8

SYNOPSIS

10         use Devel::Confess::Builtin;
11         use Exception::Class 'MyException';
12
13         MyException->throw; # includes stack trace
14

DESCRIPTION

16       Many existing exception module can provide stack traces, but this is
17       often not the default setting.  This module will force as many modules
18       as possible to include stack traces by default.  It can be loaded
19       before or after the exception modules, and it will still function.
20
21       For supported modules, it will also prevent Devel::Confess from
22       attaching its own stack traces.
23

SUPPORTED MODULES

25       •   Exception::Class
26
27       •   Ouch
28
29       •   Class::Throwable
30
31       •   Exception::Base
32

CAVEATS

34       This module relies partly on the internal implementation of the modules
35       it effects.  Future updates to the modules could break or be broken by
36       this module.
37
38
39
40perl v5.34.0                      2021-07-22        Devel::Confess::Builtin(3)
Impressum