I want to simulate this error so I can check a generic error page is displayed, not the HTTP 500 one, in light of the recent security vulnerability.
We include speci
throw new Exception();
This will generate a HTTP 500