Sha256: fcdc09fbb5444f00aa180b288363f7a318eafe1386e2464dd4d48d8bff883554
Contents?: true
Size: 403 Bytes
Versions: 33
Compression:
Stored size: 403 Bytes
Contents
package Moose::Exception::CallingReadOnlyMethodOnAnImmutableInstance; our $VERSION = '2.2207'; use Moose; extends 'Moose::Exception'; has 'method_name' => ( is => 'ro', isa => 'Str', required => 1 ); sub _build_message { my $self = shift; "The '".$self->method_name."' method is read-only when called on an immutable instance"; } __PACKAGE__->meta->make_immutable; 1;
Version data entries
33 entries across 21 versions & 1 rubygems