NAME

Chloro::Error::Field - An error associated with a specific field

VERSION

version 0.02

SYNOPSIS

my $errors = $resultset->result_for('field')->errors();

for my $message ( @{$errors} ) {
    print $message->field()->name();
    print ': ';
    print $message->error()->message();
}

DESCRIPTION

This class represents an error associated with a field.

METHODS

This class has the following methods:

$error->field()

Returns the Chloro::Field object associated with this error.

$error->message()

Returns a Chloro::ErrorMessage object.

ROLES

This object does the Chloro::Role::Error role.

AUTHOR

Dave Rolsky <autarch@urth.org>

COPYRIGHT AND LICENSE

This software is Copyright (c) 2011 by Dave Rolsky.

This is free software, licensed under:

The Artistic License 2.0 (GPL Compatible)