Sha256: 74673748a657146fa3eb5a15bd9eba52b54159ca21f92679c2c4abb08d525f42
Contents?: true
Size: 387 Bytes
Versions: 33
Compression:
Stored size: 387 Bytes
Contents
package Moose::Exception::CallingMethodOnAnImmutableInstance; 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 cannot be called on an immutable instance"; } __PACKAGE__->meta->make_immutable; 1;
Version data entries
33 entries across 21 versions & 1 rubygems