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