« blib/lib/Moose/Exception/InvalidArgumentsToTraitAliases.pm
↑ Summary
blib/lib/Moose/Exception/InvalidHandleValue.pm »
| 1 | package Moose::Exception::InvalidBaseTypeGivenToCreateParameterizedTypeConstraint; | ||
| 2 | 1 | our $VERSION = '2.4001'; | |
| 3 | |||
| 4 | 1 | ▶ | use Moose; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 5 | 1 | extends 'Moose::Exception'; | |
| 6 | 1 | with 'Moose::Exception::Role::TypeConstraint'; | |
| 7 | |||
| 8 | 1 | ▶ | sub _build_message { |
|
Subroutine
_build_message: called CC=1 SCAR=0.0
| |||
| 9 | 1 | my $self = shift; | |
| 10 | 1 | "Could not locate the base type (".$self->type_name.")"; | |
| 11 | } | ||
| 12 | |||
| 13 | 1 | __PACKAGE__->meta->make_immutable; | |
| 14 | 1 | 1; | |