blob: d33d9282303b0eb5b46bf87a91f02b1e8aa0fd27 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
package Moose::Exception::AccessorMustReadWrite;
our $VERSION = '2.1405';
use Moose;
extends 'Moose::Exception';
with 'Moose::Exception::Role::InvalidAttributeOptions';
sub _build_message {
my $self = shift;
"Cannot define an accessor name on a read-only attribute, accessors are read/write";
}
1;
|