[Catalyst] Error handling

J. Shirley jshirley at gmail.com
Wed Jan 20 19:22:56 GMT 2010

On Wed, Jan 20, 2010 at 10:52 AM, Wes Cravens <wcravens at cortex-it.com> wrote:
> J. Shirley wrote:
>> That will show you the errors, and I believe get you what you expect
>> to see.  Having said all that, I am fond of ErrorCatcher, and use its
>> included Email emitter quite happily.
> I am currently attempting to use ErrorCatcher to send email but also have a
> custom error page be rendered.  I've tried the Cookbook 'end' method in Root
> but clearing the error there seems to prevent ErrorCatcher from reacting,
> but letting it fall through gives me the 'Please come back later' page.
> Is there a suitable way to have both ErrorCatcher and a custom error page?
>  I'm trying to resist writing an ErrorCatcher emitter just for this.

I am using Catalyst::Plugin::CustomErrorMessage in conjunction with
ErrorCatcher -- works like a charm.


More information about the Catalyst mailing list