From: John Napiorkowski Date: Mon, 27 Jan 2014 15:37:39 +0000 (-0600) Subject: some docs on the new error stuff X-Git-Tag: 5.90060~20 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=catagits%2FCatalyst-Runtime.git;a=commitdiff_plain;h=df93c9b5acab21be847ad74b86d812eca07b5b2f some docs on the new error stuff --- diff --git a/lib/Catalyst.pm b/lib/Catalyst.pm index 1cd7de6..b6a11c6 100644 --- a/lib/Catalyst.pm +++ b/lib/Catalyst.pm @@ -1895,7 +1895,10 @@ sub finalize_cookies { my $c = shift; $c->engine->finalize_cookies( $c, @_ ) } =head2 $c->finalize_error -Finalizes error. +Finalizes error. If there is only one error in L and it is an object that +does C or C we rethrow the error and presume it caught by middleware +up the ladder. Otherwise we return the debugging error page (in debug mode) or we +return the default error page (production mode). =cut