GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages


Manual Reference Pages  -  CATALYST::EXCEPTION::INTERFACE (3)

.ds Aq ’

NAME

Catalyst::Exception::Interface - Role defining the interface for Catalyst exceptions

CONTENTS

SYNOPSIS



   package My::Catalyst::Like::Exception;
   use Moose;
   use namespace::clean -except => meta;

   with Catalyst::Exception::Interface;

   # This comprises the required interface.
   sub as_string { the exception text for stringification }
   sub throw { shift; die @_ }
   sub rethrow { shift; die @_ }



DESCRIPTION

This is a role for the required interface for Catalyst exceptions.

It ensures that all exceptions follow the expected interface, and adds overloading for stringification when composed onto a class.

Note that if you compose this role onto another role, that role must use MooseX::Role::WithOverloading.

REQUIRED METHODS

    as_string

    throw

    rethrow

METHODS

    meta

Provided by Moose

SEE ALSO

Catalyst
Catalyst::Exception

AUTHORS

Catalyst Contributors, see Catalyst.pm

COPYRIGHT

This library is free software. You can redistribute it and/or modify it under the same terms as Perl itself.
Search for    or go to Top of page |  Section 3 |  Main Index


perl v5.20.3 CATALYST::EXCEPTION::INTERFACE (3) 2011-07-19

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with manServer 1.07.