Beginning of dzilization
[gitmo/Moose.git] / lib / Moose / Error / Confess.pm
index 802c43a..ce5ac46 100644 (file)
@@ -3,22 +3,23 @@ package Moose::Error::Confess;
 use strict;
 use warnings;
 
-our $VERSION   = '1.10';
-$VERSION = eval $VERSION;
 our $AUTHORITY = 'cpan:STEVAN';
 
 use base qw(Moose::Error::Default);
 
+sub new {
+    my ( $self, @args ) = @_;
+    $self->create_error_confess(@args);
+}
+
 __PACKAGE__
 
+# ABSTRACT: Prefer C<confess>
+
 __END__
 
 =pod
 
-=head1 NAME
-
-Moose::Error::Confess - Prefer C<confess>
-
 =head1 SYNOPSIS
 
     # Metaclass definition must come before Moose is used.