Initial Commit
This commit is contained in:
19
database/perl/vendor/lib/Moose/Exception/AttributeExtensionIsNotSupportedInRoles.pm
vendored
Normal file
19
database/perl/vendor/lib/Moose/Exception/AttributeExtensionIsNotSupportedInRoles.pm
vendored
Normal file
@@ -0,0 +1,19 @@
|
||||
package Moose::Exception::AttributeExtensionIsNotSupportedInRoles;
|
||||
our $VERSION = '2.2014';
|
||||
|
||||
use Moose;
|
||||
extends 'Moose::Exception';
|
||||
with 'Moose::Exception::Role::Role';
|
||||
|
||||
has 'attribute_name' => (
|
||||
is => 'ro',
|
||||
isa => 'Str',
|
||||
required => 1,
|
||||
);
|
||||
|
||||
sub _build_message {
|
||||
"has '+attr' is not supported in roles";
|
||||
}
|
||||
|
||||
__PACKAGE__->meta->make_immutable;
|
||||
1;
|
||||
Reference in New Issue
Block a user