++ed by:
AYOUNG

1 PAUSE user(s)

Dave Rolsky

NAME

Chloro::ErrorMessage - An error message

VERSION

version 0.06

SYNOPSIS

    print $message->category . ': ' . $message->text();

DESCRIPTION

This class represents an error message. A message has a category and message text.

METHODS

This class has the following methods:

$error->category()

This is a string that tells what kind of error message this is. By default, Chloro only uses "invalid" and "missing", but there's nothing preventing you from using other categories in your code.

$error->text()

The text of the error message.

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)