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


Catalyst-Action-RenderView-ErrorHandler documentation Contained in the Catalyst-Action-RenderView-ErrorHandler distribution.

Index


Code Index:

NAME

Top

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

VERSION

Top

version 0.100161

SYNOPSIS

Top

    use Moose;

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

DESCRIPTION

Top

A Role that should be consumed by actions that are implemented

INTERFACE

Top

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

Top

Andreas Marienborg <andremar@cpan.org>

COPYRIGHT AND LICENSE

Top


Catalyst-Action-RenderView-ErrorHandler documentation Contained in the Catalyst-Action-RenderView-ErrorHandler distribution.

package Catalyst::Action::RenderView::ErrorHandler::Action;
BEGIN {
  $Catalyst::Action::RenderView::ErrorHandler::Action::VERSION = '0.100161';
}
#ABSTRACT: A Role for any actions that want to react to errors.

use strict;
use warnings;
use Moose::Role;

has 'id' => (is => 'ro', isa => 'Str', required => 1);

requires 'perform';

1;




__END__