The Perl Advent Calendar needs more articles for 2022. Submit your idea today!
package Moose::Exception::OverloadRequiresAMetaMethod;
our $VERSION = '2.2201';

use Moose;
extends 'Moose::Exception';

sub _build_message {
    my $self = shift;
    'If you provide a method parameter to the Moose::Meta::Overload constructor it must be a Class::MOP::Method object';
}

__PACKAGE__->meta->make_immutable;
1;