GeoIP2/Error/WebService.pm

filter: Statementstmt 100% 20 / 20 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 5 / 5 Podpod n/a totaltotal 100% 25 / 25 CC 1 SCAR 0.0
CC
1
Cov
100%
BEGIN
1.0
BEGIN
1.0
BEGIN
1.0
CRAP 1.0
« GeoIP2/Error/Type.pm ↑ Summary GeoIP2/Model/ASN.pm »
1 package GeoIP2::Error::WebService;
2  
3 1 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
4 1 ▶use warnings;
Subroutine BEGIN: called CC=1 SCAR=0.0
5  
6 1 our $VERSION = '2.006002';
7  
8 1 ▶use Moo;
Subroutine BEGIN: called CC=1 SCAR=0.0
9  
10 1 ▶use GeoIP2::Types qw( Str );
Subroutine BEGIN: called CC=1 SCAR=0.0
11  
12 1 ▶use namespace::clean -except => 'meta';
Subroutine BEGIN: called CC=1 SCAR=0.0
13  
14 1 with 'GeoIP2::Role::Error::HTTP';
15  
16 1 extends 'Throwable::Error';
17  
18 1 has code => (
19 is => 'ro',
20 isa => Str,
21 required => 1,
22 );
23  
24 1 1;
25  
26 # ABSTRACT: An explicit error from the GeoIP2 web service
27  
28 __END__
« GeoIP2/Error/Type.pm ↑ Summary GeoIP2/Model/ASN.pm »