blob: 04b7c8fe2a65f836c4d381816b9ec9f1bb7812c2 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
package Moose::Exception::InvalidHandleValue;
our $VERSION = '2.1405';
use Moose;
extends 'Moose::Exception';
with 'Moose::Exception::Role::Instance';
has 'handle_value' => (
is => 'ro',
isa => 'Any',
required => 1
);
sub _build_message {
my $self = shift;
"All values passed to handles must be strings or ARRAY references, not ".$self->handle_value;
}
1;
|