HTML::Widget::Error(3pm) | User Contributed Perl Documentation | HTML::Widget::Error(3pm) |
NAME¶
HTML::Widget::Error - ErrorSYNOPSIS¶
my @errors = $form->errors('foo'); for my $error (@errors) { print $error->type; print $error->message; }
DESCRIPTION¶
Error.METHODS¶
name¶
Arguments: $nameReturn Value: $name
message¶
Arguments: $messageReturn Value: $message
no_render¶
Arguments: $boolIf true, this error will not be displayed by "$result->as_xml".
This is used internally used by "render_errors" in HTML::Widget::Constraint.
type¶
Arguments: $typeReturn Value: $type
AUTHOR¶
Sebastian Riedel, "sri@oook.de"LICENSE¶
This library is free software, you can redistribute it and/or modify it under the same terms as Perl itself.2018-02-25 | perl v5.26.1 |