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