Business/CyberSource/Exception.pm

filter: Statementstmt 95.0% 19 / 20 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 80.0% 4 / 5 Podpod n/a totaltotal 92.0% 23 / 25 CC 1 SCAR 1.8
CC
1
Cov
95%
__ANON__
2.0
BEGIN
1.0
BEGIN
1.0
CRAP 1.2
« Business/CyberSource/Exception/NotACreditCard.pm ↑ Summary MooseX/Types/CyberSource.pm »
1 package Business::CyberSource::Exception;
2 8 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
3 8 ▶use warnings;
Subroutine BEGIN: called CC=1 SCAR=0.0
4 8 ▶use namespace::autoclean;
Subroutine BEGIN: called CC=1 SCAR=0.0
5  
6 8 our $VERSION = '0.010008'; # VERSION
7  
8 8 ▶use Moose;
Subroutine BEGIN: called CC=1 SCAR=0.0
9 8 extends 'Moose::Exception';
10  
11 8 our @CARP_NOT = ( 'Class::MOP::Method::Wrapped', __PACKAGE__ );
12  
13 8 has value => (
14 isa => 'Int',
15 is => 'ro',
16 lazy => 1,
17 default => 0,
18 );
19  
20 0 ▶before value => sub {
Subroutine __ANON__: not called CC=1 SCAR=6.9
21 0 warnings::warnif('deprecated',
22 'method `value` is deprecated as Exception::Base is no longer in use'
23 );
24 8 };
25  
26 8 __PACKAGE__->meta->make_immutable;
27 8 1;
28 # ABSTRACT: base exception
29  
30 __END__
« Business/CyberSource/Exception/NotACreditCard.pm ↑ Summary MooseX/Types/CyberSource.pm »