Perlito5X/Test2/Event/Exception.pm untested

filter: Statementstmt 0.0% 0 / 19 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 8 Podpod 0.0% 0 / 4 totaltotal 0.0% 0 / 31 CC 1 SCAR 6.9
CC
1
Cov
0%
BEGIN
2.0
causes_fail
2.0
summary
2.0
CRAP 2.0
1 package Test2::Event::Exception;
2 use strict;
3 use warnings;
4  
5 our $VERSION = '1.302073';
6  
7  
8 BEGIN { require Test2::Event; our @ISA = qw(Test2::Event) }
9 use Test2::Util::HashBase qw{error};
10  
11 sub causes_fail { 1 }
12  
13 sub summary {
14 my $self = shift;
15 chomp(my $msg = "Exception: " . $self->{+ERROR});
16 return $msg;
17 }
18  
19 sub diagnostics { 1 }
20  
21 1;
22  
23 __END__