Sha256: c3bc3cd4e1a08fb199681f074e437390636e643177777e5407c64265979c2a68
Contents?: true
Size: 505 Bytes
Versions: 18
Compression:
Stored size: 505 Bytes
Contents
package Moose::Exception::CannotOverrideNoSuperMethod; our $VERSION = '2.2203'; use Moose; extends 'Moose::Exception'; with 'Moose::Exception::Role::ParamsHash'; has 'method_name' => ( is => 'ro', isa => 'Str', required => 1 ); has 'class' => ( is => 'ro', isa => 'Str', required => 1 ); sub _build_message { my $self = shift; "You cannot override '".$self->method_name."' because it has no super method"; } __PACKAGE__->meta->make_immutable; 1;
Version data entries
18 entries across 9 versions & 1 rubygems