Catalyst::Exception::Interface man page on Fedora

Man page or keyword search:  
man Server   31170 pages
apropos Keyword Search (all sections)
Output format
Fedora logo
[printable version]

Catalyst::Exception::IUserfContributed Perl DCatalyst::Exception::Interface(3)

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

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.

perl v5.14.2			  2012-03-08 Catalyst::Exception::Interface(3)
[top]

List of man pages available for Fedora

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net