bump version to 1.14
[gitmo/Moose.git] / lib / Moose / Error / Confess.pm
1 package Moose::Error::Confess;
2
3 use strict;
4 use warnings;
5
6 our $VERSION   = '1.14';
7 $VERSION = eval $VERSION;
8 our $AUTHORITY = 'cpan:STEVAN';
9
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     # 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
34 This error class uses L<Carp/confess> to raise errors generated in your
35 metaclass.
36
37 =cut
38
39
40