NAME
Data::Transpose::Iterator::Errors - Iterator for validation errors.
The errors iterator provides errors_hash
method to retrieve a structure suitable to show error message beside form fields.
METHODS
append
Appends record to iterator.
errors_hash
Returns records of the iterator as hash. The value from "field" key is used as hash key and the value from "errors" key is used as hash value.
AUTHOR
Stefan Hornburg (Racke), <racke@linuxia.de>
LICENSE AND COPYRIGHT
Copyright 2014-2016 Stefan Hornburg (Racke) <racke@linuxia.de>.
This program is free software; you can redistribute it and/or modify it under the terms of either: the GNU General Public License as published by the Free Software Foundation; or the Artistic License.
See http://dev.perl.org/licenses/ for more information.