View on
MetaCPAN
Dave Rolsky > Chloro > Chloro::ErrorMessage

Download:
Chloro-0.07.tar.gz

Dependencies

Annotate this POD

Website

CPAN RT

Open  0
View/Report Bugs
Module Version: 0.07   Source  

NAME ^

Chloro::ErrorMessage - An error message

VERSION ^

version 0.07

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.

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.

syntax highlighting: