HTML::Widget::Error - Error


HTML-Widget documentation  | view source Contained in the HTML-Widget distribution.

Index


NAME

Top

HTML::Widget::Error - Error

SYNOPSIS

Top

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

DESCRIPTION

Top

Error.

METHODS

Top

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

Top

Sebastian Riedel, sri@oook.de

LICENSE

Top

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


HTML-Widget documentation  | view source Contained in the HTML-Widget distribution.