blob: fd3c85d0048779f15f9e3d14f6989cc3fb640b59 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
package Moose::Exception::CannotCreateMethodAliasLocalMethodIsPresent;
our $VERSION = '2.1405';
use Moose;
extends 'Moose::Exception';
with 'Moose::Exception::Role::Role', 'Moose::Exception::Role::Method';
has 'role_being_applied_name' => (
is => 'ro',
isa => 'Str',
required => 1
);
has 'aliased_method_name' => (
is => 'ro',
isa => 'Str',
required => 1
);
sub _build_message {
"Cannot create a method alias if a local method of the same name exists";
}
1;
|