Commit | Line | Data |
bf6fa6b3 |
1 | package Moose::Error::Confess; |
2 | |
c0e91e5f |
3 | use strict; |
4 | use warnings; |
5 | |
bf6fa6b3 |
6 | use base qw(Moose::Error::Default); |
7 | |
8 | __PACKAGE__ |
9 | |
10 | __END__ |
11 | |
12 | =pod |
13 | |
14 | =head1 NAME |
15 | |
16 | Moose::Error::Confess - Prefer C<confess> |
17 | |
18 | =head1 SYNOPSIS |
19 | |
20 | use metaclass => ( |
21 | metaclass => "Moose::Meta::Class", |
22 | error_class => "Moose::Error::Confess", |
23 | ); |
24 | |
25 | =head1 DESCRIPTION |
26 | |
27 | This error class uses L<Carp/confess> to raise errors generated in your |
28 | metaclass. |
29 | |
30 | =cut |
31 | |
32 | |
33 | |