| line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
|
1
|
|
|
|
|
|
|
package Moose::Exception::UnableToRecognizeDelegateMetaclass; |
|
2
|
|
|
|
|
|
|
our $VERSION = '2.2203'; |
|
3
|
|
|
|
|
|
|
|
|
4
|
1
|
|
|
1
|
|
778
|
use Moose; |
|
|
1
|
|
|
|
|
2
|
|
|
|
1
|
|
|
|
|
6
|
|
|
5
|
|
|
|
|
|
|
extends 'Moose::Exception'; |
|
6
|
|
|
|
|
|
|
with 'Moose::Exception::Role::Attribute'; |
|
7
|
|
|
|
|
|
|
|
|
8
|
|
|
|
|
|
|
has 'delegate_metaclass' => ( |
|
9
|
|
|
|
|
|
|
is => 'ro', |
|
10
|
|
|
|
|
|
|
isa => 'Any', |
|
11
|
|
|
|
|
|
|
required => 1 |
|
12
|
|
|
|
|
|
|
); |
|
13
|
|
|
|
|
|
|
|
|
14
|
|
|
|
|
|
|
sub _build_message { |
|
15
|
2
|
|
|
2
|
|
4
|
my $self = shift; |
|
16
|
2
|
|
|
|
|
60
|
my $meta = $self->delegate_metaclass; |
|
17
|
|
|
|
|
|
|
|
|
18
|
2
|
|
|
|
|
42
|
return "Unable to recognize the delegate metaclass '$meta'"; |
|
19
|
|
|
|
|
|
|
} |
|
20
|
|
|
|
|
|
|
|
|
21
|
|
|
|
|
|
|
__PACKAGE__->meta->make_immutable; |
|
22
|
|
|
|
|
|
|
1; |