1 package Moose::Error::Confess;
7 $VERSION = eval $VERSION;
8 our $AUTHORITY = 'cpan:STEVAN';
10 use base qw(Moose::Error::Default);
13 my ( $self, @args ) = @_;
14 $self->create_error_confess(@args);
25 Moose::Error::Confess - Prefer C<confess>
29 # Metaclass definition must come before Moose is used.
31 metaclass => 'Moose::Meta::Class',
32 error_class => 'Moose::Error::Confess',
39 This error class uses L<Carp/confess> to raise errors generated in your