Add built local::lib
[catagits/Gitalist.git] / local-lib5 / lib / perl5 / Moose / Error / Confess.pm
CommitLineData
3fea05b9 1package Moose::Error::Confess;
2
3use strict;
4use warnings;
5
6our $VERSION = '0.93';
7$VERSION = eval $VERSION;
8our $AUTHORITY = 'cpan:STEVAN';
9
10use base qw(Moose::Error::Default);
11
12__PACKAGE__
13
14__END__
15
16=pod
17
18=head1 NAME
19
20Moose::Error::Confess - Prefer C<confess>
21
22=head1 SYNOPSIS
23
24 # Metaclass definition must come before Moose is used.
25 use metaclass (
26 metaclass => 'Moose::Meta::Class',
27 error_class => 'Moose::Error::Confess',
28 );
29 use Moose;
30 # ...
31
32=head1 DESCRIPTION
33
34This error class uses L<Carp/confess> to raise errors generated in your
35metaclass.
36
37=cut
38
39
40