Konstrukt::Plugin::errors - Display the error messages that occured during the page processing
Usage:
<& errors / &>
Result:
A list of the errors, that occurred during the processing of the file, if any.
Will display the error messages (if any) that have been created with $Konstrukt::Debug-error_message()>.
$Konstrukt::Debug-
A template named error.template will be used to display them. The template must have a list errors, which must have a field text.
error.template
errors
text
You may set the path to the template (error.template) of this plugin. Default:
errors/template_path /templates/errors/
Inititalization of this class
Installs the templates.
Parameters:
none
Default (and only) action for this plugin. Will display the error messages.
$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.
This one should be executed last.
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.
Konstrukt::Debug, Konstrukt::SimplePlugin, Konstrukt
To install Konstrukt, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Konstrukt
CPAN shell
perl -MCPAN -e shell install Konstrukt
For more information on module installation, please visit the detailed CPAN module installation guide.