NAME

Konstrukt::Plugin::errors - Display the error messages that occured during the page processing

SYNOPSIS

Usage:

        <& errors / &>

Result:

A list of the errors, that occurred during the processing of the file, if any.

DESCRIPTION

Will display the error messages (if any) that have been created with $Konstrukt::Debug-error_message()>.

A template named error.template will be used to display them. The template must have a list errors, which must have a field text.

CONFIGURATION

You may set the path to the template (error.template) of this plugin. Default:

        errors/template_path  /templates/errors/

METHODS

init

Inititalization of this class

install

Installs the templates.

Parameters:

none

default :Action

Default (and only) action for this plugin. Will display the error messages.

Parameters:

  • $tag - Reference to the tag (and its children) that shall be handled.

  • $content - The content below/inside the tag as a flat string.

  • $params - Reference to a hash of the passed CGI parameters.

executionstage

This one should be executed last.

AUTHOR

Copyright 2006 Thomas Wittek (mail at gedankenkonstrukt dot de). All rights reserved.

This document is free software. It is distributed under the same terms as Perl itself.

SEE ALSO

Konstrukt::Debug, Konstrukt::SimplePlugin, Konstrukt