[Catalyst] Error handling

Wes Cravens wcravens at cortex-it.com
Wed Jan 20 18:52:52 GMT 2010


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.

Wes



More information about the Catalyst mailing list