blob: 83672136adca73e7e4c19983461f3562f1e84b68 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
|
package Moose::Exception::CannotFixMetaclassCompatibility;
our $VERSION = '2.1405';
use Moose;
extends 'Moose::Exception';
with 'Moose::Exception::Role::Class';
has 'superclass' => (
is => 'ro',
isa => 'Object',
required => 1
);
has 'metaclass_type' => (
is => 'ro',
isa => 'Str',
);
sub _build_message {
my $self = shift;
my $class_name = $self->class_name;
"Can't fix metaclass incompatibility for $class_name because it is not pristine.";
}
1;
|