line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
package Moose::Exception::IllegalInheritedOptions; |
2
|
|
|
|
|
|
|
our $VERSION = '2.2205'; |
3
|
|
|
|
|
|
|
|
4
|
3
|
|
|
3
|
|
2629
|
use Moose; |
|
3
|
|
|
|
|
11
|
|
|
3
|
|
|
|
|
28
|
|
5
|
|
|
|
|
|
|
extends 'Moose::Exception'; |
6
|
|
|
|
|
|
|
with 'Moose::Exception::Role::ParamsHash'; |
7
|
|
|
|
|
|
|
|
8
|
|
|
|
|
|
|
has 'illegal_options' => ( |
9
|
|
|
|
|
|
|
is => 'ro', |
10
|
|
|
|
|
|
|
traits => ['Array'], |
11
|
|
|
|
|
|
|
handles => { |
12
|
|
|
|
|
|
|
_join_options => 'join', |
13
|
|
|
|
|
|
|
}, |
14
|
|
|
|
|
|
|
required => 1, |
15
|
|
|
|
|
|
|
); |
16
|
|
|
|
|
|
|
|
17
|
|
|
|
|
|
|
sub _build_message { |
18
|
6
|
|
|
6
|
|
17
|
my $self = shift; |
19
|
6
|
|
|
|
|
304
|
"Illegal inherited options => (".$self->_join_options(', ').")"; |
20
|
|
|
|
|
|
|
} |
21
|
|
|
|
|
|
|
|
22
|
|
|
|
|
|
|
__PACKAGE__->meta->make_immutable; |
23
|
|
|
|
|
|
|
1; |