From: Dave Rolsky Date: Mon, 27 Sep 2010 17:02:02 +0000 (-0500) Subject: Apply the Moose::Meta::Object::Trait to Moose::Error::Default X-Git-Tag: 1.15~26 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=68567b15543e21dda758720fa180d1a7be7bb370;p=gitmo%2FMoose.git Apply the Moose::Meta::Object::Trait to Moose::Error::Default --- diff --git a/lib/Moose/Error/Default.pm b/lib/Moose/Error/Default.pm index f530436..bcd4fd3 100644 --- a/lib/Moose/Error/Default.pm +++ b/lib/Moose/Error/Default.pm @@ -8,9 +8,11 @@ $VERSION = eval $VERSION; our $AUTHORITY = 'cpan:STEVAN'; use Carp::Heavy; +use Class::MOP::MiniTrait; use base 'Class::MOP::Object'; +Class::MOP::MiniTrait::apply(__PACKAGE__, 'Moose::Meta::Object::Trait'); sub new { my ( $self, @args ) = @_;