Catalyst::Action::RenderView::ErrorHandler::Action - A Role for any actions that want to react to errors.
version 0.100166
use Moose; with 'Catalyst::Action::RenderView::ErrorHandler::Action';
This method need to be implemented by consuming classes.
It will be called with $context, and thus makes it possible to access $context->errors for instance, include them in an email or whatnot
$context
$context->errors
Inherited from Moose
A Role that should be consumed by actions that are implemented
Unique name for this action. It is used when refering actions from handlers
This allows you to set a regexp that we match against the request path. It comes in handy if your server is targeted by some php exploit nastyness, and you don't want to (for instance) email everyone every time someone tries to bruteforce.
Called before the action is performed to check if we should ignore this action this time or not. Returns true if the action should be ignored (skipped)
Andreas Marienborg <andremar@cpan.org>
This software is copyright (c) 2013 by Andreas Marienborg.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.
To install Catalyst::Action::RenderView::ErrorHandler, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Catalyst::Action::RenderView::ErrorHandler
CPAN shell
perl -MCPAN -e shell install Catalyst::Action::RenderView::ErrorHandler
For more information on module installation, please visit the detailed CPAN module installation guide.