title: Handling a fatal error in PHP from an AJAX call
body: <p>Quite simply, I want my javascript to be able to react to a fatal 500 error caused by PHP, appropriately to the error.</p>
  
  <p><strong>My goal is simply</strong> to collect the fatal error message that the script produced, so I can show it on the client side.</p>
  
  <p>Is this in any way possible?</p>
  
  <p>EDIT: cleaned up the question, in case it gets, by chance, it gets searched.</p>