NAME

ClearPress::view::error - specialised view for error handling

VERSION

$LastChangedRevision: 470 $

SYNOPSIS

DESCRIPTION

SUBROUTINES/METHODS

errstr - Get/set accessor for an error string to display

$oErrorView->errstr($sErrorMessage);
my $sErrorMessage = $oErrorView->errstr();

render - encapsulated HTML rather than a template, in case the template has caused the error

my $sErrorOutput = $oErrorView->render();

safe_errors - boolean flag, default on - strip strings which look like filenames and line numbers

init - unstash errstr

errstr - errstr accessor

DIAGNOSTICS

CONFIGURATION AND ENVIRONMENT

DEPENDENCIES

strict
warnings
base
ClearPress::view
Class::Accessor
English
Template
Carp

INCOMPATIBILITIES

BUGS AND LIMITATIONS

AUTHOR

Roger Pettett, <rpettett@cpan.org>

LICENSE AND COPYRIGHT

Copyright (C) 2007 by Roger Pettett

This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself, either Perl version 5.8.8 or, at your option, any later version of Perl 5 you may have available.