1package Moose::Exception::AttributeExtensionIsNotSupportedInRoles; 2our $VERSION = '2.2201'; 3 4use Moose; 5extends 'Moose::Exception'; 6with 'Moose::Exception::Role::Role'; 7 8has 'attribute_name' => ( 9 is => 'ro', 10 isa => 'Str', 11 required => 1, 12); 13 14sub _build_message { 15 "has '+attr' is not supported in roles"; 16} 17 18__PACKAGE__->meta->make_immutable; 191; 20