---
name: "Devel::Confess::Builtin"
section: "3pm"
platform: "linux"
package: "libdevel-confess-perl"
version: "0.009004-4"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/Devel::Confess::Builtin"
---

# Devel::Confess::Builtin(3pm)

Enable built in stack traces on exception objects

## NAME

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

## SYNOPSIS

```
  use Devel::Confess::Builtin;
  use Exception::Class 'MyException';
  MyException->throw; # includes stack trace
```

## DESCRIPTION

Many existing exception module can provide stack traces, but this is often not the default setting.  This module will force as many modules as possible to include stack traces by default.  It can be loaded before or after the exception modules, and it will still function.

For supported modules, it will also prevent Devel::Confess from attaching its own stack traces.

## SUPPORTED MODULES

- •

  Exception::Class

- •

  Ouch

- •

  Class::Throwable

- •

  Exception::Base

## CAVEATS

This module relies partly on the internal implementation of the modules it effects.  Future updates to the modules could break or be broken by this module.
