| 1 | package GeoIP2::Error::Type; | ||
| 2 | |||
| 3 | 14 | ▶ | use strict; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 4 | 14 | ▶ | use warnings; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 5 | |||
| 6 | 14 | our $VERSION = '2.006002'; | |
| 7 | |||
| 8 | 14 | ▶ | use Moo; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 9 | |||
| 10 | 14 | ▶ | use namespace::clean -except => 'meta'; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 11 | |||
| 12 | 14 | extends 'Throwable::Error'; | |
| 13 | |||
| 14 | # We can't load GeoIP2::Types to get types here because we'd have a circular | ||
| 15 | # use in that case. | ||
| 16 | 14 | has type => ( | |
| 17 | is => 'ro', | ||
| 18 | required => 1, | ||
| 19 | ); | ||
| 20 | |||
| 21 | 14 | has value => ( | |
| 22 | is => 'ro', | ||
| 23 | required => 1, | ||
| 24 | ); | ||
| 25 | |||
| 26 | 14 | 1; | |
| 27 | |||
| 28 | # ABSTRACT: A type validation error. | ||
| 29 | |||
| 30 | __END__ | ||