| 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__ | ||