<html><head><meta name="color-scheme" content="light dark"></head><body><pre style="word-wrap: break-word; white-space: pre-wrap;">package Moose::Exception::CannotOverrideNoSuperMethod;
our $VERSION = '2.2013';

use Moose;
extends 'Moose::Exception';
with 'Moose::Exception::Role::ParamsHash';

has 'method_name' =&gt; (
    is       =&gt; 'ro',
    isa      =&gt; 'Str',
    required =&gt; 1
);

has 'class' =&gt; (
    is       =&gt; 'ro',
    isa      =&gt; 'Str',
    required =&gt; 1
);

sub _build_message {
    my $self = shift;
    "You cannot override '".$self-&gt;method_name."' because it has no super method";
}

__PACKAGE__-&gt;meta-&gt;make_immutable;
1;
</pre></body></html>