[Catalyst-commits] r14537 - trunk/examples/CatalystAdvent/root/2014
davewood at dev.catalyst.perl.org
davewood at dev.catalyst.perl.org
Tue Dec 2 15:32:13 GMT 2014
Author: davewood
Date: 2014-12-02 15:32:13 +0000 (Tue, 02 Dec 2014)
New Revision: 14537
Modified:
trunk/examples/CatalystAdvent/root/2014/6.pod
Log:
fixed typos in article 6
Modified: trunk/examples/CatalystAdvent/root/2014/6.pod
===================================================================
--- trunk/examples/CatalystAdvent/root/2014/6.pod 2014-12-02 15:25:11 UTC (rev 14536)
+++ trunk/examples/CatalystAdvent/root/2014/6.pod 2014-12-02 15:32:13 UTC (rev 14537)
@@ -11,8 +11,8 @@
generate a HTML error page saying something along the lines of
"Sorry, we fucked up!".
-If L<https://metacpan.org/pod/Catalyst#Debug|debugging> is enabled this oage is
-differently and shows the error message and optionally a stacktrace.
+If L<debugging|https://metacpan.org/pod/Catalyst#Debug> is enabled this page is
+different and shows the error message and optionally a stacktrace.
L<Catalyst::ControllerRole::CatchErrors> allows you to do custom error handling.
The following scenarios come to mind.
@@ -22,7 +22,8 @@
=item Customize the error page layout.
The L<Catalyst> error page comes with its own CSS and looks entirely
-different then your page design. See also L<Catalyst::Plugin::CustomErrorMessage>
+different then your page design.
+See also L<Catalyst::Plugin::CustomErrorMessage>.
=item Customize the error page content.
@@ -31,9 +32,9 @@
=item Send a non-HTML error response.
-If you have a REST application you don't want to send text/html default errors
+If you have a REST application you don't want to send text/html default errors.
-=item rethrow an error
+=item Rethrow an error
Maybe you want to catch some errors and let others be handled by the default
mechanism. L<Catalyst::ControllerRole::CatchErrors> lets you do that too.
@@ -55,7 +56,7 @@
=head1 Conclusion
-This module was written as a proof of conecpt and might be moved into the
+This module was written as a proof of concept and might be moved into the
L<Catalyst> core at some point in the future.
=head1 Author
More information about the Catalyst-commits
mailing list