Navigation Menu

Skip to content

Commit

Permalink
mention that built-in exception and not found pages are fallbacks
Browse files Browse the repository at this point in the history
  • Loading branch information
kraih committed Jan 23, 2014
1 parent fd3debb commit cd47d8c
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions lib/Mojolicious/Guides/Rendering.pod
Expand Up @@ -356,10 +356,10 @@ used or an empty C<204> response rendered automatically.

By now you've probably already encountered the built-in 404 (Not Found) and
500 (Server Error) pages, that get rendered automatically when you make a
mistake. Especially during development they can be a great help, you can
render them manually with the methods
L<Mojolicious::Controller/"render_exception"> and
L<Mojolicious::Controller/"render_not_found">.
mistake. Those are fallbacks for when your own exception handling fails, but
especially during development they can also be a great help, you can render
them manually with the methods L<Mojolicious::Controller/"render_exception">
and L<Mojolicious::Controller/"render_not_found">.

use Mojolicious::Lite;
use Scalar::Util 'looks_like_number';
Expand Down

0 comments on commit cd47d8c

Please sign in to comment.