This commit is contained in:
13
CPAN/Moose/Exception/CannotOverrideLocalMethodIsPresent.pm
Normal file
13
CPAN/Moose/Exception/CannotOverrideLocalMethodIsPresent.pm
Normal file
@@ -0,0 +1,13 @@
|
||||
package Moose::Exception::CannotOverrideLocalMethodIsPresent;
|
||||
our $VERSION = '2.2207';
|
||||
|
||||
use Moose;
|
||||
extends 'Moose::Exception';
|
||||
with 'Moose::Exception::Role::Class', 'Moose::Exception::Role::Method';
|
||||
|
||||
sub _build_message {
|
||||
"Cannot add an override method if a local method is already present";
|
||||
}
|
||||
|
||||
__PACKAGE__->meta->make_immutable;
|
||||
1;
|
||||
Reference in New Issue
Block a user