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

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

sub _build_message {
    my $self = shift;
    "Cannot find delegate metaclass for attribute ".$self->attribute->name;
}

1;