X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=lib%2FMoose%2FError%2FConfess.pm;h=d0e961a4f01785044cc24c8dd082579feec2fc13;hb=f4b86ac0e1fd7ff8a180f2f8332821170db5371e;hp=dab189c60935cd91181464abe0a7faa0ad1a6560;hpb=bbd059cd6d8708db41702f52b2ce5b978af430e6;p=gitmo%2FMoose.git diff --git a/lib/Moose/Error/Confess.pm b/lib/Moose/Error/Confess.pm index dab189c..d0e961a 100644 --- a/lib/Moose/Error/Confess.pm +++ b/lib/Moose/Error/Confess.pm @@ -3,12 +3,17 @@ package Moose::Error::Confess; use strict; use warnings; -our $VERSION = '1.00'; +our $VERSION = '1.16'; $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__