File Coverage

blib/lib/Moose/Exception/IllegalInheritedOptions.pm
Criterion Covered Total %
statement 5 5 100.0
branch n/a
condition n/a
subroutine 2 2 100.0
pod n/a
total 7 7 100.0


line stmt bran cond sub pod time code
1             package Moose::Exception::IllegalInheritedOptions;
2             our $VERSION = '2.2203';
3              
4 3     3   1800 use Moose;
  3         7  
  3         19  
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   21 my $self = shift;
19 6         207 "Illegal inherited options => (".$self->_join_options(', ').")";
20             }
21              
22             __PACKAGE__->meta->make_immutable;
23             1;