diff options
Diffstat (limited to 'lib/Moose/Exception/OverloadRequiresAMetaMethod.pm')
-rw-r--r-- | lib/Moose/Exception/OverloadRequiresAMetaMethod.pm | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/lib/Moose/Exception/OverloadRequiresAMetaMethod.pm b/lib/Moose/Exception/OverloadRequiresAMetaMethod.pm new file mode 100644 index 0000000..67ee8ee --- /dev/null +++ b/lib/Moose/Exception/OverloadRequiresAMetaMethod.pm @@ -0,0 +1,12 @@ +package Moose::Exception::OverloadRequiresAMetaMethod; +our $VERSION = '2.1405'; + +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'; +} + +1; |