package Moose::Exception::AttributeExtensionIsNotSupportedInRoles; BEGIN { $Moose::Exception::AttributeExtensionIsNotSupportedInRoles::AUTHORITY = 'cpan:STEVAN'; } $Moose::Exception::AttributeExtensionIsNotSupportedInRoles::VERSION = '2.1204'; 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"; } 1;