lib/Perl/ToPerl6/Exception/Configuration/NonExistentTransformer.pm

filter: Statementstmt 100% 19 / 19 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 6 / 6 Podpod 100% 1 / 1 totaltotal 100% 26 / 26 CC 1 SCAR 0.0
CC
1
Cov
100%
BEGIN
1.0
BEGIN
1.0
BEGIN
1.0
CRAP 1.0
« lib/Perl/ToPerl6/Exception/Configuration/Generic.pm ↑ Summary lib/Perl/ToPerl6/Exception/Configuration/Option/Global.pm »
1 package Perl::ToPerl6::Exception::Configuration::NonExistentTransformer;
2  
3 17 ▶use 5.006001;
Subroutine BEGIN: called CC=1 SCAR=0.0
4 17 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
5 17 ▶use warnings;
Subroutine BEGIN: called CC=1 SCAR=0.0
6  
7 17 ▶use Readonly;
Subroutine BEGIN: called CC=1 SCAR=0.0
8  
9 #-----------------------------------------------------------------------------
10  
11 17 ▶use Exception::Class (
Subroutine BEGIN: called CC=1 SCAR=0.0
12 17 'Perl::ToPerl6::Exception::Configuration::NonExistentTransformer' => {
13 isa => 'Perl::ToPerl6::Exception::Configuration',
14 description => 'The configuration referred to a non-existant transformer.',
15 fields => [ qw{ transformer } ],
16 },
17 17 );
18  
19 #-----------------------------------------------------------------------------
20  
21 17 Readonly::Array our @EXPORT_OK => qw< throw_extra_parameter >;
22  
23 #-----------------------------------------------------------------------------
24  
25 28 ▶sub full_message {
Subroutine full_message: called CC=1 SCAR=0.0
Pod documented
26 28 my ( $self ) = @_;
27  
28 28 my $transformer = $self->transformer();
29  
30 28 return qq<There is no $transformer transformer installed.>;
31 }
32  
33  
34 17 1;
35  
36 __END__
« lib/Perl/ToPerl6/Exception/Configuration/Generic.pm ↑ Summary lib/Perl/ToPerl6/Exception/Configuration/Option/Global.pm »