Geoffrey/Exception/Template.pm

filter: Statementstmt 100% 17 / 17 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 6 / 6 Podpod 100% 1 / 1 totaltotal 100% 24 / 24 CC 1 SCAR 0.0
CC
1
Cov
100%
BEGIN
1.0
BEGIN
1.0
BEGIN
1.0
CRAP 1.0
« Geoffrey/Exception/Database.pm ↑ Summary Geoffrey/Role/ConverterType.pm »
1 package Geoffrey::Exception::Template;
2  
3 2 ▶use utf8;
Subroutine BEGIN: called CC=1 SCAR=0.0
4 2 ▶use 5.016;
Subroutine BEGIN: called CC=1 SCAR=0.0
5 2 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
6 2 ▶use warnings;
Subroutine BEGIN: called CC=1 SCAR=0.0
7  
8 2 $Geoffrey::Exception::Template::VERSION = '0.000206';
9  
10 2 ▶use Exception::Class 1.23 (
Subroutine BEGIN: called CC=1 SCAR=0.0
11 2 'Geoffrey::Exception::Template' => { description => 'Unidentified exception', },
12 'Geoffrey::Exception::Template::NotFound' =>
13 { description => 'Given template is not configured!', },
14 2 );
15  
16 2 ▶sub throw_template_not_found {
Subroutine throw_template_not_found: called CC=1 SCAR=0.0
Pod documented
17 2 return Geoffrey::Exception::Template::NotFound->throw("Template $_[0] is not configured!\n");
18 }
19  
20 2 1;
21  
22 __END__
« Geoffrey/Exception/Database.pm ↑ Summary Geoffrey/Role/ConverterType.pm »