Scaffold/Exception.pm

filter: Statementstmt 100% 13 / 13 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 5 / 5 Podpod n/a totaltotal 100% 18 / 18 CC 1 SCAR 0.0
CC
1
Cov
100%
BEGIN
1.0
BEGIN
1.0
BEGIN
1.0
CRAP 1.0
« Scaffold/Environment_TEST.pm ↑ Summary Scaffold/Exception/Business.pm »
1 3 ▶use 5.008;
Subroutine BEGIN: called CC=1 SCAR=0.0
2 3 ▶use warnings;
Subroutine BEGIN: called CC=1 SCAR=0.0
3 3 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
4  
5 package Class::Scaffold::Exception;
6 3 ▶BEGIN {
Subroutine BEGIN: called CC=1 SCAR=0.0
7 3 $Class::Scaffold::Exception::VERSION = '1.102280';
8 }
9 # ABSTRACT: Base class for framework exceptions
10  
11 # It's ok to inherit from Class::Scaffold::Storable as well; new() will be
12 # found in Error::Hierarchy first. For the exception class itself, to inherit
13 # from Class::Scaffold::Base would be enough, but there might be subclasses
14 # that need the 'storage' accessor - Class::Scaffold::Exception::Container, for
15 # example.
16 3 ▶use parent qw(
Subroutine BEGIN: called CC=1 SCAR=0.0
17 Error::Hierarchy
18 Class::Scaffold::Storable
19 3 );
20 3 1;
21  
22 __END__
« Scaffold/Environment_TEST.pm ↑ Summary Scaffold/Exception/Business.pm »