diff options
Diffstat (limited to 'lib/Moose/Exception/CreateTakesHashRefOfAttributes.pm')
-rw-r--r-- | lib/Moose/Exception/CreateTakesHashRefOfAttributes.pm | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/lib/Moose/Exception/CreateTakesHashRefOfAttributes.pm b/lib/Moose/Exception/CreateTakesHashRefOfAttributes.pm new file mode 100644 index 0000000..d0b451c --- /dev/null +++ b/lib/Moose/Exception/CreateTakesHashRefOfAttributes.pm @@ -0,0 +1,12 @@ +package Moose::Exception::CreateTakesHashRefOfAttributes; +our $VERSION = '2.1405'; + +use Moose; +extends 'Moose::Exception'; +with 'Moose::Exception::Role::RoleForCreate'; + +sub _build_message { + "You must pass a HASH ref of attributes"; +} + +1; |