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.2206';
3              
4 3     3   2416 use Moose;
  3         8  
  3         27  
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   15 my $self = shift;
19 6         284 "Illegal inherited options => (".$self->_join_options(', ').")";
20             }
21              
22             __PACKAGE__->meta->make_immutable;
23             1;