% my $s = $self->stash; % my $e = $self->stash('exception'); % delete $s->{inner_template}; % delete $s->{exception}; % my $dump = dumper $s; % $s->{exception} = $e; An Exception has occured: <%= $e->message %> at <%= $e->line->[0] %> in <%= $e->line->[1] %>