lib/Perl/ToPerl6/Exception/Fatal/Generic.pm

filter: Statementstmt 100% 16 / 16 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 5 / 5 Podpod n/a totaltotal 100% 21 / 21 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/Fatal.pm ↑ Summary lib/Perl/ToPerl6/Exception/Fatal/Internal.pm »
1 package Perl::ToPerl6::Exception::Fatal::Generic;
2  
3 30 ▶use 5.006001;
Subroutine BEGIN: called CC=1 SCAR=0.0
4 30 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
5 30 ▶use warnings;
Subroutine BEGIN: called CC=1 SCAR=0.0
6  
7 30 ▶use Readonly;
Subroutine BEGIN: called CC=1 SCAR=0.0
8  
9 #-----------------------------------------------------------------------------
10  
11 30 ▶use Exception::Class (
Subroutine BEGIN: called CC=1 SCAR=0.0
12 30 'Perl::ToPerl6::Exception::Fatal::Generic' => {
13 isa => 'Perl::ToPerl6::Exception::Fatal',
14 description => 'A general problem was found.',
15 alias => 'throw_generic',
16 },
17 30 );
18  
19 #-----------------------------------------------------------------------------
20  
21 30 Readonly::Array our @EXPORT_OK => qw< throw_generic >;
22  
23 #-----------------------------------------------------------------------------
24  
25  
26 30 1;
27  
28 __END__
« lib/Perl/ToPerl6/Exception/Fatal.pm ↑ Summary lib/Perl/ToPerl6/Exception/Fatal/Internal.pm »