summaryrefslogtreecommitdiff
path: root/lib/Moose/Exception/RolesDoNotSupportAugment.pm
diff options
context:
space:
mode:
Diffstat (limited to 'lib/Moose/Exception/RolesDoNotSupportAugment.pm')
-rw-r--r--lib/Moose/Exception/RolesDoNotSupportAugment.pm11
1 files changed, 11 insertions, 0 deletions
diff --git a/lib/Moose/Exception/RolesDoNotSupportAugment.pm b/lib/Moose/Exception/RolesDoNotSupportAugment.pm
new file mode 100644
index 0000000..91f366c
--- /dev/null
+++ b/lib/Moose/Exception/RolesDoNotSupportAugment.pm
@@ -0,0 +1,11 @@
+package Moose::Exception::RolesDoNotSupportAugment;
+our $VERSION = '2.1405';
+
+use Moose;
+extends 'Moose::Exception';
+
+sub _build_message {
+ "Roles cannot support 'augment'";
+}
+
+1;