diff options
Diffstat (limited to 'lib/Moose/Exception/MustDefineAMethodName.pm')
-rw-r--r-- | lib/Moose/Exception/MustDefineAMethodName.pm | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/lib/Moose/Exception/MustDefineAMethodName.pm b/lib/Moose/Exception/MustDefineAMethodName.pm new file mode 100644 index 0000000..29d9114 --- /dev/null +++ b/lib/Moose/Exception/MustDefineAMethodName.pm @@ -0,0 +1,12 @@ +package Moose::Exception::MustDefineAMethodName; +our $VERSION = '2.1405'; + +use Moose; +extends 'Moose::Exception'; +with 'Moose::Exception::Role::Instance'; + +sub _build_message { + "You must define a method name"; +} + +1; |