summaryrefslogtreecommitdiff
path: root/lib/Moose/Exception/MustSpecifyAtleastOneMethod.pm
diff options
context:
space:
mode:
Diffstat (limited to 'lib/Moose/Exception/MustSpecifyAtleastOneMethod.pm')
-rw-r--r--lib/Moose/Exception/MustSpecifyAtleastOneMethod.pm12
1 files changed, 12 insertions, 0 deletions
diff --git a/lib/Moose/Exception/MustSpecifyAtleastOneMethod.pm b/lib/Moose/Exception/MustSpecifyAtleastOneMethod.pm
new file mode 100644
index 0000000..006a4e6
--- /dev/null
+++ b/lib/Moose/Exception/MustSpecifyAtleastOneMethod.pm
@@ -0,0 +1,12 @@
+package Moose::Exception::MustSpecifyAtleastOneMethod;
+our $VERSION = '2.1405';
+
+use Moose;
+extends 'Moose::Exception';
+with 'Moose::Exception::Role::Role';
+
+sub _build_message {
+ "Must specify at least one method";
+}
+
+1;