Thomas Wittek > Konstrukt-0.5-beta13 > Konstrukt::Plugin::errors

Download:
konstrukt/Konstrukt-0.5-beta13.tar.gz

Dependencies

Annotate this POD

CPAN RT

New  1
Open  0
View Bugs
Report a bug
Source  

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:

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