Scroll to navigation

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

NAME

HTML::Widget::Error - Error

SYNOPSIS

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

DESCRIPTION

Error.

METHODS

name

Arguments: $name

Return Value: $name

message

Arguments: $message

Return Value: $message

no_render

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.

type

Arguments: $type

Return 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