[Catalyst-commits] r11952 - Catalyst-Runtime/5.80/trunk/lib/Catalyst/Exception

rafl at dev.catalyst.perl.org rafl at dev.catalyst.perl.org
Sat Nov 21 01:43:13 GMT 2009


Author: rafl
Date: 2009-11-21 01:43:12 +0000 (Sat, 21 Nov 2009)
New Revision: 11952

Modified:
   Catalyst-Runtime/5.80/trunk/lib/Catalyst/Exception/Interface.pm
Log:
Improve Exception::Interface docs.

Modified: Catalyst-Runtime/5.80/trunk/lib/Catalyst/Exception/Interface.pm
===================================================================
--- Catalyst-Runtime/5.80/trunk/lib/Catalyst/Exception/Interface.pm	2009-11-21 01:30:07 UTC (rev 11951)
+++ Catalyst-Runtime/5.80/trunk/lib/Catalyst/Exception/Interface.pm	2009-11-21 01:43:12 UTC (rev 11952)
@@ -15,7 +15,7 @@
 
 =head1 NAME
 
-Catalyst::Exception::Interface - Exception for redispatching using $ctx->detach()
+Catalyst::Exception::Interface - Role defining the interface for Catalyst exceptions
 
 =head1 SYNOPSIS
 
@@ -23,15 +23,13 @@
    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 die { shift; die @_ }
    sub die { shift; die @_ }
 
-   with 'Catalyst::Exception::Interface';
-
-See also L<Catalyst> and L<Catalyst::Exception>.
-
 =head1 DESCRIPTION
 
 This is a role for the required interface for Catalyst exceptions.
@@ -57,6 +55,16 @@
 
 Provided by Moose
 
+=head1 SEE ALSO
+
+=over 4
+
+=item L<Catalyst>
+
+=item L<Catalyst::Exception>
+
+=back
+
 =head1 AUTHORS
 
 Catalyst Contributors, see Catalyst.pm




More information about the Catalyst-commits mailing list