HTML::Widget::Error(3pm) User Contributed Perl Documentation HTML::Widget::Error(3pm)

HTML::Widget::Error - Error

    my @errors = $form->errors('foo');
    for my $error (@errors) {
        print $error->type;
        print $error->message;
    }

Error.

Arguments: $name

Return Value: $name

Arguments: $message

Return Value: $message

Arguments: $bool

If true, this error will not be displayed by "$result->as_xml".

This is used internally used by "render_errors" in HTML::Widget::Constraint.

Arguments: $type

Return Value: $type

Sebastian Riedel, "sri@oook.de"

This library is free software, you can redistribute it and/or modify it under the same terms as Perl itself.

2023-08-10 perl v5.36.0