---
name: "Moose::Error::Confess"
section: "3pm"
platform: "linux"
package: "libmoose-perl"
version: "2.0603-1"
release: "Debian 7 (Wheezy)"
platforms: ["linux"]
url: "https://new.carta.tech/Moose::Error::Confess"
---

# Moose::Error::Confess(3pm)

Prefer "confess"

## NAME

Moose::Error::Confess - Prefer "confess"

## VERSION

version 2.0603

## SYNOPSIS

```
    # Metaclass definition must come before Moose is used.
    use metaclass (
        metaclass => 'Moose::Meta::Class',
        error_class => 'Moose::Error::Confess',
    );
    use Moose;
    # ...
```

## DESCRIPTION

This error class uses "confess" in Carp to raise errors generated in your metaclass.

## AUTHOR

Moose is maintained by the Moose Cabal, along with the help of many contributors. See "CABAL" in Moose and "CONTRIBUTORS" in Moose for details.

## COPYRIGHT AND LICENSE

This software is copyright (c) 2012 by Infinity Interactive, Inc..

This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.
