Chloro::ErrorMessage - An error message
print $message->category . ': ' . $message->text();
This class represents an error message. A message has a category and message text.
This class has the following methods:
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.
The text of the error message.
Dave Rolsky <email@example.com>
This software is Copyright (c) 2011 by Dave Rolsky.
This is free software, licensed under:
The Artistic License 2.0 (GPL Compatible)