| 1 | package GeoIP2::Role::Error::HTTP; | ||
| 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::Role; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 9 | |||
| 10 | 1 | ▶ | use GeoIP2::Types qw( HTTPStatus Str URIObject ); |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 11 | |||
| 12 | 1 | ▶ | use namespace::clean; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 13 | |||
| 14 | 1 | has http_status => ( | |
| 15 | is => 'ro', | ||
| 16 | isa => HTTPStatus, | ||
| 17 | required => 1, | ||
| 18 | ); | ||
| 19 | |||
| 20 | 1 | has uri => ( | |
| 21 | is => 'ro', | ||
| 22 | isa => URIObject, | ||
| 23 | required => 1, | ||
| 24 | ); | ||
| 25 | |||
| 26 | 1 | 1; | |