Money/BaseException/MismatchCurrencyType.pm

filter: Statementstmt 100% 17 / 17 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 5 / 5 Podpod n/a totaltotal 100% 22 / 22 CC 1 SCAR 0.0
CC
1
Cov
100%
BEGIN
1.0
BEGIN
1.0
BEGIN
1.0
CRAP 1.0
« Money/BaseException/ExcessivePrecision.pm ↑ Summary
1 package Data::Money::BaseException::MismatchCurrencyType;
2  
3 8 $Data::Money::BaseException::MismatchCurrencyType::VERSION = '0.21';
4 8 $Data::Money::BaseException::MismatchCurrencyType::AUTHORITY = 'cpan:GPHAT';
5  
6 =head1 NAME
7  
8 Data::Money::BaseException::MismatchCurrencyType - Exception handle for 'mismatch currency type'.
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 10 ▶has error => (is => 'ro', default => sub { 'unable to perform arithmetic on different currency types' });
Subroutine __ANON__: called CC=1 SCAR=0.0
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::MismatchCurrencyType
« Money/BaseException/ExcessivePrecision.pm ↑ Summary