1 2 3 4 5 6 7 8 9 10 11 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;