Business/CyberSource/Exception/ItemsOrTotal.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
« Business/CyberSource/Exception/AttributeIsRequiredNotToBeSet.pm ↑ Summary Business/CyberSource/Message.pm »
1 package Business::CyberSource::Exception::ItemsOrTotal;
2 2 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
3 2 ▶use warnings;
Subroutine BEGIN: called CC=1 SCAR=0.0
4 2 ▶use namespace::autoclean;
Subroutine BEGIN: called CC=1 SCAR=0.0
5  
6 2 our $VERSION = '0.010008'; # VERSION
7  
8 2 ▶use Moose;
Subroutine BEGIN: called CC=1 SCAR=0.0
9 2 extends 'Business::CyberSource::Exception';
10  
11 1 ▶sub _build_message {
Subroutine _build_message: called CC=1 SCAR=0.0
12 1 return 'you must define either items or total';
13 }
14  
15 2 __PACKAGE__->meta->make_immutable;
16 2 1;
17  
18 # ABSTRACT: You must set Items or total
19  
20 __END__
« Business/CyberSource/Exception/AttributeIsRequiredNotToBeSet.pm ↑ Summary Business/CyberSource/Message.pm »