Version 1.04
[gitmo/Moose.git] / lib / Moose / Error / Confess.pm
CommitLineData
bf6fa6b3 1package Moose::Error::Confess;
2
c0e91e5f 3use strict;
4use warnings;
5
40290d18 6our $VERSION = '1.04';
ae18d5ec 7$VERSION = eval $VERSION;
8our $AUTHORITY = 'cpan:STEVAN';
9
bf6fa6b3 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
af1c30e0 24 # Metaclass definition must come before Moose is used.
25 use metaclass (
26 metaclass => 'Moose::Meta::Class',
27 error_class => 'Moose::Error::Confess',
bf6fa6b3 28 );
af1c30e0 29 use Moose;
30 # ...
bf6fa6b3 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