<html><head><meta name="color-scheme" content="light dark"></head><body><pre style="word-wrap: break-word; white-space: pre-wrap;">package Moose::Exception::ConflictDetectedInCheckRoleExclusionsInToClass;
our $VERSION = '2.2013';

use Moose;
extends 'Moose::Exception';
with 'Moose::Exception::Role::Class', 'Moose::Exception::Role::Role';

sub _build_message {
    my $self       = shift;
    my $class_name = $self-&gt;class_name;
    my $role_name  = $self-&gt;role_name;
    return "Conflict detected: $class_name excludes role '$role_name'";
}

__PACKAGE__-&gt;meta-&gt;make_immutable;
1;
</pre></body></html>