use MOOSE_ERROR_STYLE rather than MOOSE_ERROR_TERSE
[gitmo/Moose.git] / lib / Moose / Error / Confess.pm
index 210ca91..bf42d98 100644 (file)
@@ -3,12 +3,17 @@ package Moose::Error::Confess;
 use strict;
 use warnings;
 
-our $VERSION   = '1.02';
+our $VERSION   = '1.15';
 $VERSION = eval $VERSION;
 our $AUTHORITY = 'cpan:STEVAN';
 
 use base qw(Moose::Error::Default);
 
+sub new {
+    my ( $self, @args ) = @_;
+    $self->create_error_confess(@args);
+}
+
 __PACKAGE__
 
 __END__