On 10.05.2011, at 23:48, ryan weaver wrote: > Hey guys- > > Overriding core error template is easy > (http://symfony.com/doc/2.0/cookbook/controller/error_pages.html). But what > is the prescribed way to have different error pages for each of the different > types of errors? I believe the only way currently is to add an exception > listener. If that's true, it should be easier.
not an exception listener .. a custom ExceptionController is what you would probably want to use. however like i said on IRC, it might be a nice touch to allow users to create custom exception pages with some naming convention for status codes and the ExceptionController would check if there is a custom template for the given status code. regards, Lukas Kahwe Smith [email protected] -- If you want to report a vulnerability issue on symfony, please send it to security at symfony-project.com You received this message because you are subscribed to the Google Groups "symfony developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/symfony-devs?hl=en
