Subject: | debug-friendly error messages |
Moose usually has helpful error messages when something goes wrong but
in the case of an attribute of type ArrayRef[Int] I get this:
Attribute (perm) does not pass the type constraint because: Validation
failed for 'ArrayRef[Int]' failed with value ARRAY(0x8953908)
I know where to look to find the problem but ARRAY(0x8953908) isn't
helping, instead I think it would be helpful if the actual contents of
the attribute would be printed with some Dumper module of your choice.