I have tried as documentation says:
app/
└─ Resources/
└─ TwigBundle/
└─ views/
└─ Exception/
├─ error404.html.twig
├─ error403.html.twig
├─ error.html.twig # All other HTML errors (including 500)
├─ error404.json.twig
├─ error403.json.twig
└─ error.json.twig # All other JSON errors (including 500)
But none of those shows the custom page on prod env. Then I tried to add in the same Exception folder a exception.html.twig file and it work for all the errors (404, 500, ...), but it shows it in dev, so I can't see the error when developing if I have that file. And inside the production env it shows always the red screen
So what's the proper way to make a custom error page to production and how to test it?
