| 1 | package Catalyst::Exception::InvalidArrayLength; | ||
| 2 | |||
| 3 | 2 | ▶ | use Moose; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 4 | 2 | ▶ | use namespace::clean -except => 'meta'; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 5 | |||
| 6 | 2 | extends 'Catalyst::Exception::StructuredParameter'; | |
| 7 | |||
| 8 | 2 | has 'pointer' => (is=>'ro', required=>1); | |
| 9 | 2 | has 'max' => (is=>'ro', required=>1); | |
| 10 | 2 | has 'attempted' => (is=>'ro', required=>1); | |
| 11 | |||
| 12 | 0 | ▶ | sub error { |
|
Subroutine
error: not called CC=1 SCAR=6.9
Pod
undocumented
| |||
| 13 | 0 | return "Pointer '@{[ $_[0]->pointer ]}' has array length of '@{[ $_[0]->attempted ]}' but maximum is '@{[ $_[0]->max ]}'."; | |
| 14 | } | ||
| 15 | |||
| 16 | 2 | __PACKAGE__->meta->make_immutable; | |