Money/BaseException/InvalidCurrencyFormat.pm

filter: Statementstmt 94.1% 16 / 17 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 80.0% 4 / 5 Podpod n/a totaltotal 90.9% 20 / 22 CC 1 SCAR 0.2
CC
1
Cov
94%
__ANON__
1.1
BEGIN
1.0
BEGIN
1.0
CRAP 1.0
« Money/BaseException/InvalidCurrencyCode.pm ↑ Summary Money/BaseException.pm »
1 package Data::Money::BaseException::InvalidCurrencyFormat;
2  
3 8 $Data::Money::BaseException::InvalidCurrencyFormat::VERSION = '0.21';
4 8 $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.21
13  
14 =cut
15  
16 8 ▶use 5.006;
Subroutine BEGIN: called CC=1 SCAR=0.0
17 8 ▶use Data::Dumper;
Subroutine BEGIN: called CC=1 SCAR=0.0
18  
19 8 ▶use Moo;
Subroutine BEGIN: called CC=1 SCAR=0.0
20 8 ▶use namespace::clean;
Subroutine BEGIN: called CC=1 SCAR=0.0
21  
22 0 ▶has error => (is => 'ro', default => sub { 'Invalid currency format.' });
Subroutine __ANON__: not called CC=1 SCAR=1.2
23  
24 8 with 'Data::Money::BaseException';
25  
26 =head1 DESCRIPTION
27  
28 B<FOR INTERNAL USE ONLY>
29  
30 =head1 AUTHOR
31  
32 Cory G Watson, C<< <gphat at cpan.org> >>
33  
34 =head1 REPOSITORY
35  
36 L<https://github.com/manwar/Data-Money>
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<here|http://dev.perl.org/licenses> for more information.
47  
48 =cut
49  
50 8 1; # End of Data::Money::BaseException::InvalidCurrencyFormat
« Money/BaseException/InvalidCurrencyCode.pm ↑ Summary Money/BaseException.pm »