Sha256: b2037c1dd370edf24cc81a46ad415cfd9fe1b1ffc7accebb19e6ed424bb941ad
Contents?: true
Size: 403 Bytes
Versions: 14
Compression:
Stored size: 403 Bytes
Contents
package Moose::Exception::CallingReadOnlyMethodOnAnImmutableInstance; our $VERSION = '2.2206'; 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
14 entries across 7 versions & 1 rubygems