blob: 89e5046dfe421b0601ffe5e4b74a4cc1b51fa299 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
package Moose::Exception::RolesDoNotSupportRegexReferencesForMethodModifiers;
our $VERSION = '2.1405';
use Moose;
extends 'Moose::Exception';
with 'Moose::Exception::Role::Role';
has 'modifier_type' => (
is => 'ro',
isa => 'Str',
required => 1
);
sub _build_message {
my $self = shift;
"Roles do not currently support regex references for ".$self->modifier_type." method modifiers";
}
1;
|