Fix a doc typo.
Florian Ragwitz [Fri, 20 Nov 2009 06:22:44 +0000 (06:22 +0000)]
Also trim some trailing whitespace.

lib/Catalyst/Exception/Basic.pm
lib/Catalyst/Exception/Detach.pm
lib/Catalyst/Exception/Go.pm
lib/Catalyst/Exception/Interface.pm

index f32a6e6..713bb5f 100644 (file)
@@ -53,11 +53,11 @@ Catalyst::Exception::Basic - Basic Catalyst Exception Role
    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 @@ Holds the exception message.
 
 =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 )
index 8ef9157..dbe35ff 100644 (file)
@@ -23,9 +23,9 @@ Catalyst::Exception::Detach - Exception for redispatching using $ctx->detach()
 
    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
index e4e50a3..48f90aa 100644 (file)
@@ -23,9 +23,9 @@ Catalyst::Exception::Go - Exception for redispatching using $ctx->go()
 
    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
index 65d5a54..10bfc0f 100644 (file)
@@ -22,12 +22,12 @@ Catalyst::Exception::Interface - Exception for redispatching using $ctx->detach(
    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>.