| CatalystX-Controller-Sugar-ActionPack documentation | view source | Contained in the CatalystX-Controller-Sugar-ActionPack distribution. |
CatalystX::Controller::Sugar::ActionPack::Error - Action for error pages
Used to server custom error pages, which the webapp dispatch to.
This hash holds a mapping between the error template and the response status. See the source code for a sample of default templates.
go '/error' => [$template, $message];
Show error message, and set HTTP response status. Supported status: See
%ERROR_STATUS.
Affected stash variables:
{
template => "error/$template.tt",
title => "error - $status_code",
error_message => $message,
}
| CatalystX-Controller-Sugar-ActionPack documentation | view source | Contained in the CatalystX-Controller-Sugar-ActionPack distribution. |