if ( my $error = $@ ) {
#rethow if this can be handled by middleware
if(
+ !$c->config->{always_catch_http_exceptions} &&
blessed $error && (
$error->can('as_psgi') ||
(
} else {
my ($error) = @{$c->error};
if(
+ !$c->config->{always_catch_http_exceptions} &&
blessed $error &&
($error->can('as_psgi') || $error->can('code'))
) {
} catch {
#rethow if this can be handled by middleware
if(
+ !$class->config->{always_catch_http_exceptions} &&
blessed($_) && (
$_->can('as_psgi') ||
(
=item *
+C<always_catch_http_exceptions> - As of version 5.90060 Catalyst
+rethrows errors conforming to the interface described by
+L<Plack::Middleware::HTTPExceptions> and lets the middleware deal with it.
+Set true to get the deprecated behaviour and have Catakyst catch HTTP exceptions.
+
+=item *
+
C<default_model> - The default model picked if you say C<< $c->model >>. See L<< /$c->model($name) >>.
=item *