Hi,all. Can anyone eplain me a bit about error handling. Where i can
catch it and when? I use this:
MyApp::C::MyController
sub auto : Private {
my ($self, $c) = @_;
if ($c->error) {
$c->stash->{error} = " Critical ERROR!! ";
$c->forward('/error');
$c->error(0);
return 0;
}
}
This works but then all my subs in this controller are redirected to /error.
_______________________________________________
List: [email protected]
Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst
Searchable archive: http://www.mail-archive.com/[EMAIL PROTECTED]/
Dev site: http://dev.catalyst.perl.org/