CustomException page: 404 not found and other exceptions | http://t.co/bEHTkRmegc #symfony2 #sf2 #php
July 01, 2013
Custom Exception page: 404 not found and other exceptions
A new class is going to be created, to handle the kernel.exception event (see Symfony/Component/HttpKernel/KernelEvents). This listener will render a template chosen by you (in this case AcmeFooBundle:Exception:exception.html.twig).