title: Redirect to a dedicated error page?
body: <p>Is there any way in PHP to redirect the browser to a new page upon error whilst maintaining error logging?<br></p>
  
  <ol>
  <li>User performs an action that results in a PHP fatal error<br></li>
  <li>The error is logged<br></li>
  <li>Browser is redirected to <code>example.com/error</code><br></li>
  <li>User is presented with a form, prefilled with the error, and is able to give more details<br></li>
  </ol>