File Coverage

blib/lib/Class/Value/Exception.pm
Criterion Covered Total %
statement 18 18 100.0
branch n/a
condition n/a
subroutine 6 6 100.0
pod n/a
total 24 24 100.0


line stmt bran cond sub pod time code
1 1     1   760 use 5.008;
  1         4  
  1         38  
2 1     1   6 use strict;
  1         3  
  1         26  
3 1     1   6 use warnings;
  1         1  
  1         55  
4              
5             package Class::Value::Exception;
6             our $VERSION = '1.100840';
7             # ABSTRACT: Base class for value-related exceptions
8 1     1   5 use parent 'Class::Value::Exception::Base';
  1         1  
  1         6  
9             __PACKAGE__->mk_scalar_accessors(qw(ref value));
10 1         82 use constant default_message =>
11 1     1   96 'General value object exception for type [%s], value [%s]';
  1         2  
12 1     1   6 use constant PROPERTIES => (qw/ref value/);
  1         2  
  1         66  
13              
14              
15             __END__