HTML::Widget::Error - Error


NAME

HTML::Widget::Error - Error


SYNOPSIS

    my @errors = $form->errors('foo');
    for my $error (@errors) {
        print $error->type;
        print $error->message;
    }
    
    =head1 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 the HTML::Widget::Constraint manpage.

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.