Sha256: b71471151902357e9d255c66c9f76ff67c81bcd572126b7804b039aeb0dc299d
Contents?: true
Size: 458 Bytes
Versions: 14
Compression:
Stored size: 458 Bytes
Contents
package Moose::Exception::CannotOverrideALocalMethod; our $VERSION = '2.2206'; use Moose; extends 'Moose::Exception'; with 'Moose::Exception::Role::Role'; has 'method_name' => ( is => 'ro', isa => 'Str', required => 1, ); sub _build_message { my $self = shift; "Cannot add an override of method '".$self->method_name."' because there is a local version of '".$self->method_name."'"; } __PACKAGE__->meta->make_immutable; 1;
Version data entries
14 entries across 7 versions & 1 rubygems