1package Moose::Exception::CannotApplyBaseClassRolesToRole; 2our $VERSION = '2.2201'; 3 4use Moose; 5extends 'Moose::Exception'; 6with 'Moose::Exception::Role::ParamsHash', 'Moose::Exception::Role::Role'; 7 8sub _build_message { 9 "You can only apply base class roles to a Moose class, not a role."; 10} 11 12__PACKAGE__->meta->make_immutable; 131; 14