[Catalyst] Catalyst best practices - exceptions

2008-03-14 Thread Ian Sillitoe
I'm curious about catalyst best practices regarding exceptions. FWIW I found the following links outline a neat way of handling Exceptions (i.e. tying additional functionality to typical HTTP headers) and I'm currently using this model (not Model) in my application.

Re: [Catalyst] Catalyst best practices - exceptions

2008-03-14 Thread Ashley
On Mar 14, 2008, at 5:09 AM, Ian Sillitoe wrote: I'm curious about catalyst best practices regarding exceptions. FWIW I found the following links outline a neat way of handling Exceptions (i.e. tying additional functionality to typical HTTP headers) and I'm currently using this model (not

Re: [Catalyst] Catalyst best practices - exceptions

2008-03-14 Thread Ian Sillitoe
Thanks Ashley - that all sounds very sensible. I couldn't find your entry in the mailing list either - but I guess the code snippet you mention isn't a million miles away from the Delivering a Custom Error Page entry on Catalyst::Cookbook? And I guess you're right - throwing exceptions as