File Coverage

blib/lib/Data/Money/BaseException/InvalidCurrencyFormat.pm
Criterion Covered Total %
statement 11 11 100.0
branch n/a
condition n/a
subroutine 4 4 100.0
pod n/a
total 15 15 100.0


line stmt bran cond sub pod time code
1             package Data::Money::BaseException::InvalidCurrencyFormat;
2              
3             $Data::Money::BaseException::InvalidCurrencyFormat::VERSION = '0.20';
4             $Data::Money::BaseException::InvalidCurrencyFormat::AUTHORITY = 'cpan:GPHAT';
5              
6             =head1 NAME
7              
8             Data::Money::BaseException::InvalidCurrencyFormat - Exception handle for 'invalid currency format'.
9              
10             =head1 VERSION
11              
12             Version 0.20
13              
14             =cut
15              
16 8     8   118 use 5.006;
  8         23  
17 8     8   37 use Data::Dumper;
  8         15  
  8         290  
18              
19 8     8   47 use Moo;
  8         22  
  8         37  
20 8     8   2108 use namespace::clean;
  8         22  
  8         49  
21              
22             has error => (is => 'ro', default => sub { 'Invalid currency format.' });
23              
24             with 'Data::Money::BaseException';
25              
26             =head1 DESCRIPTION
27              
28             B
29              
30             =head1 AUTHOR
31              
32             Cory G Watson, C<< >>
33              
34             =head1 REPOSITORY
35              
36             L
37              
38             =head1 LICENSE AND COPYRIGHT
39              
40             Copyright 2010 Cory Watson
41              
42             This program is free software; you can redistribute it and/or modify it under the
43             terms of either: the GNU General Public License as published by the Free Software
44             Foundation; or the Artistic License.
45              
46             See L for more information.
47              
48             =cut
49              
50             1; # End of Data::Money::BaseException::InvalidCurrencyFormat