Alternatively, configure your web server to show a particular page on error. For apache you might do for example
ErrorDocument 500 /500.html
Exact configuration will depend on your server version and setup.
We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.