blob: f0952bf4c9d5e95f5cca32d66889f45d9608e6c3 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
package Moose::Exception::CannotAutoDerefWithoutIsa;
our $VERSION = '2.1405';
use Moose;
extends 'Moose::Exception';
with 'Moose::Exception::Role::InvalidAttributeOptions';
sub _build_message {
my $self = shift;
"You cannot auto-dereference without specifying a type constraint on attribute (".$self->attribute_name.")";
}
1;
|