Client/Exception/Upstream.pm

filter: Statementstmt 100% 32 / 32 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 9 / 9 Podpod n/a totaltotal 100% 41 / 41 CC 1 SCAR 0.0
CC
1
Cov
100%
BEGIN
1.0
BEGIN
1.0
BEGIN
1.0
CRAP 1.0
« Client/Exception/Connection.pm ↑ Summary Client/Types.pm »
1 package CloudFlare::Client::Exception::Upstream;
2 # ABSTRACT: Upstream CloudFlare API Exception
3  
4 7 ▶use strict; use warnings; no indirect 'FATAL'; use namespace::autoclean;
Subroutine BEGIN: called CC=1 SCAR=0.0
Subroutine BEGIN: called CC=1 SCAR=0.0
Subroutine BEGIN: called CC=1 SCAR=0.0
Subroutine BEGIN: called CC=1 SCAR=0.0
5 7 ▶use mro 'c3';
Subroutine BEGIN: called CC=1 SCAR=0.0
6  
7 7 ▶use Readonly;
Subroutine BEGIN: called CC=1 SCAR=0.0
8 7 ▶use Moose; use MooseX::StrictConstructor;
Subroutine BEGIN: called CC=1 SCAR=0.0
Subroutine BEGIN: called CC=1 SCAR=0.0
9 7 ▶use CloudFlare::Client::Types 'ErrorCode';
Subroutine BEGIN: called CC=1 SCAR=0.0
10  
11 7 our $VERSION = 'v0.55.5'; # TRIAL VERSION
12  
13 7 extends 'Throwable::Error';
14  
15 7 has errorCode => (
16 is => 'ro',
17 isa => ErrorCode,);
18  
19 7 __PACKAGE__->meta->make_immutable;
20 7 1; # End of CloudFlare::Client::Exception::Upstream
21  
22 __END__
« Client/Exception/Connection.pm ↑ Summary Client/Types.pm »