diff options
Diffstat (limited to 'lib/Moose/Exception/MustSupplyArrayRefAsCurriedArguments.pm')
-rw-r--r-- | lib/Moose/Exception/MustSupplyArrayRefAsCurriedArguments.pm | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/lib/Moose/Exception/MustSupplyArrayRefAsCurriedArguments.pm b/lib/Moose/Exception/MustSupplyArrayRefAsCurriedArguments.pm new file mode 100644 index 0000000..65fb9f9 --- /dev/null +++ b/lib/Moose/Exception/MustSupplyArrayRefAsCurriedArguments.pm @@ -0,0 +1,12 @@ +package Moose::Exception::MustSupplyArrayRefAsCurriedArguments; +our $VERSION = '2.1405'; + +use Moose; +extends 'Moose::Exception'; +with 'Moose::Exception::Role::ParamsHash', 'Moose::Exception::Role::Class'; + +sub _build_message { + "You must supply a curried_arguments which is an ARRAY reference"; +} + +1; |