The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

LibWeb::HTML::Error - Displaying error messages in html for libweb applications

SUPPORTED PLATFORMS

BSD, Linux, Solaris and Windows.

REQUIRE

  • No non-standard Perl's library is required.

ISA

  • None.

SYNOPSIS

You do not use this class directly; use LibWeb::HTML::Default instead. See LibWeb::HTML::Default.

ABSTRACT

This class defines a method for displaying error messages in HTML. Several basic error messages are also defined.

The current version of LibWeb::HTML::Error is available at

   http://libweb.sourceforge.net

Several LibWeb applications (LEAPs) have be written, released and are available at

   http://leaps.sourceforge.net

DESCRIPTION

METHODS

display_error()

Params:

caller, error_msg, error_input, help_msg

Pre:

  • caller is a reference to the calling object. All other parameters are scalars except help_msg which must be a SCALAR reference.

Post:

  • Display a HTML page with the error message, error input and help message.

NOTE:

Do not call this method directly, call LibWeb::Core::fatal() instead. See LibWeb::Core for details.

All of the following methods return a SCALAR reference to an error message in HTML.

mysterious_error()

special_characters_not_allowed()

hit_back_and_edit()

post_too_large()

database_error()

login_failed()

logout_failed()

login_expired()

exceeded_max_login_attempt()

registration_failed()

cookie_error()

AUTHORS

Colin Kong (colin.kong@toronto.edu)

CREDITS

BUGS

SEE ALSO

LibWeb::Core, LibWeb::HTML::Standard, LibWeb::HTML::Default.