[Catalyst] Managing errors - cut execution flow.

J. Shirley jshirley at gmail.com
Thu Mar 18 18:11:17 GMT 2010

On Thu, Mar 18, 2010 at 10:03 AM, David <oldskiffle at yahoo.es> wrote:
> Hi,
> I am not sure how to manage errors in my Catalyst application. When I detect
> an error, I forward the error to my Error View, but the execution doesn't
> stop.
> When my application was not in Catalyst, I used "exit 1;" once I had done
> forward to my Error View, but this doesn't work in my Catalyst application.
> Is there a politely way in Catalyst of cutting the execution process when I
> find an error and forward this error to my Error View?
> David

I believe you will be all set if you simply use $c->detach rather than


More information about the Catalyst mailing list