diff options
Diffstat (limited to 'lib/Moose/Exception/NeitherAttributeNorAttributeNameIsGiven.pm')
-rw-r--r-- | lib/Moose/Exception/NeitherAttributeNorAttributeNameIsGiven.pm | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/lib/Moose/Exception/NeitherAttributeNorAttributeNameIsGiven.pm b/lib/Moose/Exception/NeitherAttributeNorAttributeNameIsGiven.pm new file mode 100644 index 0000000..c482bea --- /dev/null +++ b/lib/Moose/Exception/NeitherAttributeNorAttributeNameIsGiven.pm @@ -0,0 +1,11 @@ +package Moose::Exception::NeitherAttributeNorAttributeNameIsGiven; +our $VERSION = '2.1405'; + +use Moose; +extends 'Moose::Exception'; + +sub _build_message { + "You need to give attribute or attribute_name or both"; +} + +1; |