package Moose::Exception::OverloadRequiresAMethodNameOrCoderef; our $VERSION = '2.2010'; use Moose; extends 'Moose::Exception'; sub _build_message { my $self = shift; 'You must provide a method_name or coderef parameter when constructing a Moose::Meta::Overload object'; } __PACKAGE__->meta->make_immutable; 1;