Catalyst::Action::RenderView::ErrorHandler::Action - A Role for any actions that want to react to errors.
version 0.100162
use Moose; with 'Catalyst::Action::RenderView::ErrorHandler::Action';
A Role that should be consumed by actions that are implemented
This is the ID which you can refer to when defining handlers
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
Andreas Marienborg <andremar@cpan.org>
This software is copyright (c) 2011 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.