From: Jesse Luehrs Date: Mon, 27 Sep 2010 04:21:39 +0000 (-0500) Subject: the error classes should be cmop objects X-Git-Tag: 1.15~49 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=4f5ca7c5603a395c08a15b120a98b055ddd4af19;p=gitmo%2FMoose.git the error classes should be cmop objects --- diff --git a/lib/Moose/Error/Default.pm b/lib/Moose/Error/Default.pm index f4e702a..f530436 100644 --- a/lib/Moose/Error/Default.pm +++ b/lib/Moose/Error/Default.pm @@ -9,6 +9,8 @@ our $AUTHORITY = 'cpan:STEVAN'; use Carp::Heavy; +use base 'Class::MOP::Object'; + sub new { my ( $self, @args ) = @_;