summaryrefslogtreecommitdiff
path: root/lib/Moose/Exception/MetaclassMustBeASubclassOfMooseMetaClass.pm
blob: 6b22e2d206cd5ba03b2b49ea728f60cf0c3d57f8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
package Moose::Exception::MetaclassMustBeASubclassOfMooseMetaClass;
our $VERSION = '2.1405';

use Moose;
extends 'Moose::Exception';
with 'Moose::Exception::Role::Class';

sub _build_message {
    my $self = shift;
    "The Metaclass ".$self->class_name." must be a subclass of Moose::Meta::Class."
}

1;