Money/BaseException/InvalidCurrencyCode.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.pm ↑ Summary Money/BaseException/InvalidCurrencyFormat.pm »
1 package Data::Money::BaseException::InvalidCurrencyCode;
2  
3 8 $Data::Money::BaseException::InvalidCurrencyCode::VERSION = '0.21';
4 8 $Data::Money::BaseException::InvalidCurrencyCode::AUTHORITY = 'cpan:GPHAT';
5  
6 =head1 NAME
7  
8 Data::Money::BaseException::InvalidCurrencyCode - Exception handle for 'invalid currency code'.
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 { 'String is not a valid 3 letter currency code.' });
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 Currently maintained by Mohammad S Anwar (MANWAR) C<< <mohammad.anwar at yahoo.com> >>
35  
36 =head1 REPOSITORY
37  
38 L<https://github.com/manwar/Data-Money>
39  
40 =head1 LICENSE AND COPYRIGHT
41  
42 Copyright 2010 Cory Watson
43  
44 This program is free software; you can redistribute it and/or modify it under the
45 terms of either: the GNU General Public License as published by the Free Software
46 Foundation; or the Artistic License.
47  
48 See L<here|http://dev.perl.org/licenses> for more information.
49  
50 =cut
51  
52 8 1; # End of Data::Money::BaseException::InvalidCurrencyCode
« Money.pm ↑ Summary Money/BaseException/InvalidCurrencyFormat.pm »