GeoIP2/Error/IPAddressNotFound.pm

filter: Statementstmt 100% 19 / 19 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 5 / 5 Podpod n/a totaltotal 100% 24 / 24 CC 1 SCAR 0.0
CC
1
Cov
100%
BEGIN
1.0
BEGIN
1.0
BEGIN
1.0
CRAP 1.0
« GeoIP2/Error/HTTP.pm ↑ Summary GeoIP2/Error/Type.pm »
1 package GeoIP2::Error::IPAddressNotFound;
2  
3 8 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
4 8 ▶use warnings;
Subroutine BEGIN: called CC=1 SCAR=0.0
5  
6 8 our $VERSION = '2.006002';
7  
8 8 ▶use Moo;
Subroutine BEGIN: called CC=1 SCAR=0.0
9  
10 8 ▶use GeoIP2::Types qw( Str );
Subroutine BEGIN: called CC=1 SCAR=0.0
11  
12 8 ▶use namespace::clean -except => 'meta';
Subroutine BEGIN: called CC=1 SCAR=0.0
13  
14 8 extends 'Throwable::Error';
15  
16 8 has ip_address => (
17 is => 'ro',
18 isa => Str,
19 required => 1,
20 );
21  
22 8 1;
23  
24 # ABSTRACT: An exception thrown when an IP address is not in the MaxMind GeoIP2 database
25  
26 __END__
« GeoIP2/Error/HTTP.pm ↑ Summary GeoIP2/Error/Type.pm »