title: Zend framework 2 recommended way for error handling
body: <p>I noticed  that the Skeleton Application that Zend provides does not handle <code>error 500</code>. I know that in ZF1 there was an <code>ErrorController</code> that took care of that. I have done some research online, but did not find a clear cut solution for this. </p>
  
  <p>So what is the best way for error handling in ZF2. Would it be on per module basis or some global exception/error handler?</p>
  
  <p>I know that another solution would be to add <code>ini_set('display_errors', true);</code> to my <code>index.php</code>, but I don't really like that solution. It seems that the framework should provide some way for handling errors.</p>