Andreas Marienborg > Catalyst-Action-RenderView-ErrorHandler-0.100162 > Catalyst::Action::RenderView::ErrorHandler::Action

Download:
Catalyst-Action-RenderView-ErrorHandler-0.100162.tar.gz

Dependencies

Annotate this POD

CPAN RT

Open  0
View/Report Bugs
Module Version: 0.100162   Source   Latest Release: Catalyst-Action-RenderView-ErrorHandler-0.100166

NAME ^

Catalyst::Action::RenderView::ErrorHandler::Action - A Role for any actions that want to react to errors.

VERSION ^

version 0.100162

SYNOPSIS ^

    use Moose;

    with 'Catalyst::Action::RenderView::ErrorHandler::Action';

DESCRIPTION ^

A Role that should be consumed by actions that are implemented

INTERFACE ^

ACCESSORS

id

This is the ID which you can refer to when defining handlers

REQUIRED METHODS

perform

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

INHERITED METHODS

meta

Inherited from Moose

AUTHOR ^

Andreas Marienborg <andremar@cpan.org>

COPYRIGHT AND LICENSE ^

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.

syntax highlighting: