On 08/04/07, Freddie Witherden <
[hidden email]> wrote:
> I am not sure how to best go about generating error pages for my
> users is (such as when they attempt to do something they are not
> supposed to or when something breaks). I was thinking about having an
> Error controller with various actions (permissions, 404, &c) and then
> using the _forward method when an error occurs passing an error
> message as a parameter, but what do you use/think of that idea?
I would go the Object Oriented way: throw exceptions and catch them at
a higher level, so you can choose what to display according to the
exception thrown.
--
Stéphane