++ed by:
AYOUNG

1 PAUSE user

Dave Rolsky
and 1 contributors

NAME

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

VERSION

version 0.07

SYNOPSIS

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

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

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->result()

Returns the Chloro::Result::Field object associated with this error. This is a weak reference, so it could return undef.

$error->message()

Returns a Chloro::ErrorMessage object.

ROLES

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

SUPPORT

Bugs may be submitted at http://rt.cpan.org/Public/Dist/Display.html?Name=Chloro or via email to bug-chloro@rt.cpan.org.

I am also usually active on IRC as 'autarch' on irc://irc.perl.org.

SOURCE

The source code repository for Chloro can be found at https://github.com/autarch/Chloro.

AUTHOR

Dave Rolsky <autarch@urth.org>

COPYRIGHT AND LICENSE

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

This is free software, licensed under:

  The Artistic License 2.0 (GPL Compatible)

The full text of the license can be found in the LICENSE file included with this distribution.