For me, it seems that nothing I read at the symfony documentation ever works. I needed to create custom error pages, so I created the folder app/Resources/TwigBundle/views/Exception and within this folder I created error.html.twig . Of course this didn’t work. Why? I was in the dev environment which seems to need a different file: exception_full.html.twig and thaaat worked.
Stupid Symfony.