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

rafl at dev.catalyst.perl.org rafl at dev.catalyst.perl.org
Fri Nov 20 06:22:45 GMT 2009


Author: rafl
Date: 2009-11-20 06:22:44 +0000 (Fri, 20 Nov 2009)
New Revision: 11943

Modified:
   Catalyst-Runtime/5.80/trunk/lib/Catalyst/Exception/Basic.pm
   Catalyst-Runtime/5.80/trunk/lib/Catalyst/Exception/Detach.pm
   Catalyst-Runtime/5.80/trunk/lib/Catalyst/Exception/Go.pm
   Catalyst-Runtime/5.80/trunk/lib/Catalyst/Exception/Interface.pm
Log:
Fix a doc typo.

Also trim some trailing whitespace.

Modified: Catalyst-Runtime/5.80/trunk/lib/Catalyst/Exception/Basic.pm
===================================================================
--- Catalyst-Runtime/5.80/trunk/lib/Catalyst/Exception/Basic.pm	2009-11-20 04:04:12 UTC (rev 11942)
+++ Catalyst-Runtime/5.80/trunk/lib/Catalyst/Exception/Basic.pm	2009-11-20 06:22:44 UTC (rev 11943)
@@ -53,11 +53,11 @@
    package My::Exception;
    use Moose;
    use namespace::clean -except => 'meta';
-   
+
    with 'Catalyst::Exception::Basic';
-   
+
    # Elsewhere..
-   My::Exception::Basic->throw( qq/Fatal exception/ );
+   My::Exception->throw( qq/Fatal exception/ );
 
 See also L<Catalyst> and L<Catalyst::Exception>.
 
@@ -76,7 +76,7 @@
 
 =head2 as_string
 
-Stringifies the exception's message attribute. 
+Stringifies the exception's message attribute.
 Called when the object is stringified by overloading.
 
 =head2 throw( $message )

Modified: Catalyst-Runtime/5.80/trunk/lib/Catalyst/Exception/Detach.pm
===================================================================
--- Catalyst-Runtime/5.80/trunk/lib/Catalyst/Exception/Detach.pm	2009-11-20 04:04:12 UTC (rev 11942)
+++ Catalyst-Runtime/5.80/trunk/lib/Catalyst/Exception/Detach.pm	2009-11-20 06:22:44 UTC (rev 11943)
@@ -23,9 +23,9 @@
 
    Do not use this class directly, instead you should use the singleton instance
    found in $Catalyst::DETACH;
-   
+ 
    E.g. die $Catalyst::DETACH
-   
+
 See also L<Catalyst> and L<Catalyst::Exception>.
 
 =head1 DESCRIPTION

Modified: Catalyst-Runtime/5.80/trunk/lib/Catalyst/Exception/Go.pm
===================================================================
--- Catalyst-Runtime/5.80/trunk/lib/Catalyst/Exception/Go.pm	2009-11-20 04:04:12 UTC (rev 11942)
+++ Catalyst-Runtime/5.80/trunk/lib/Catalyst/Exception/Go.pm	2009-11-20 06:22:44 UTC (rev 11943)
@@ -23,9 +23,9 @@
 
    Do not use this class directly, instead you should use the singleton instance
    found in $Catalyst::GO;
-   
+
    E.g. die $Catalyst::GO;
-   
+
 See also L<Catalyst> and L<Catalyst::Exception>.
 
 =head1 DESCRIPTION

Modified: Catalyst-Runtime/5.80/trunk/lib/Catalyst/Exception/Interface.pm
===================================================================
--- Catalyst-Runtime/5.80/trunk/lib/Catalyst/Exception/Interface.pm	2009-11-20 04:04:12 UTC (rev 11942)
+++ Catalyst-Runtime/5.80/trunk/lib/Catalyst/Exception/Interface.pm	2009-11-20 06:22:44 UTC (rev 11943)
@@ -22,12 +22,12 @@
    package My::Catalyst::Like::Exception;
    use Moose;
    use namespace::clean -except => 'meta';
-   
+
    # 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>.




More information about the Catalyst-commits mailing list