On Thu, 2010-03-18 at 11:07 +0000, David wrote:
> Hi,
> 
> I'm controlling errors in my code, but what I don't know is how to
> manage them properly in Catalyst.
> 
> When my application was not in Catalyst, I managed errord by launching
> an error page and doing "exit 1;" to stop execution.
> In Catalyst, I forward to my Error View, but once I have done forward
> to the Error View, the execution goes on.

I think you want ->detach or ->go rather than ->forward.


http://search.cpan.org/~bobtfish/Catalyst-Runtime-5.80021/lib/Catalyst.pm#$c->detach(_$action_[,_...@arguments_]_)

Attachment: signature.asc
Description: This is a digitally signed message part

_______________________________________________
List: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/dbix-class
IRC: irc.perl.org#dbix-class
SVN: http://dev.catalyst.perl.org/repos/bast/DBIx-Class/
Searchable Archive: http://www.grokbase.com/group/[email protected]

Reply via email to