From: Florian Ragwitz Date: Fri, 20 Nov 2009 06:22:44 +0000 (+0000) Subject: Fix a doc typo. X-Git-Tag: 5.80014~7 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=catagits%2FCatalyst-Runtime.git;a=commitdiff_plain;h=a62b43cd084495c7d73cd666e51d70598f63f540 Fix a doc typo. Also trim some trailing whitespace. --- diff --git a/lib/Catalyst/Exception/Basic.pm b/lib/Catalyst/Exception/Basic.pm index f32a6e6..713bb5f 100644 --- a/lib/Catalyst/Exception/Basic.pm +++ b/lib/Catalyst/Exception/Basic.pm @@ -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 and L. @@ -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 ) diff --git a/lib/Catalyst/Exception/Detach.pm b/lib/Catalyst/Exception/Detach.pm index 8ef9157..dbe35ff 100644 --- a/lib/Catalyst/Exception/Detach.pm +++ b/lib/Catalyst/Exception/Detach.pm @@ -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 and L. =head1 DESCRIPTION diff --git a/lib/Catalyst/Exception/Go.pm b/lib/Catalyst/Exception/Go.pm index e4e50a3..48f90aa 100644 --- a/lib/Catalyst/Exception/Go.pm +++ b/lib/Catalyst/Exception/Go.pm @@ -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 and L. =head1 DESCRIPTION diff --git a/lib/Catalyst/Exception/Interface.pm b/lib/Catalyst/Exception/Interface.pm index 65d5a54..10bfc0f 100644 --- a/lib/Catalyst/Exception/Interface.pm +++ b/lib/Catalyst/Exception/Interface.pm @@ -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 and L.