title: Cakephp redirect on error
body: <p>So we all know these <code>Error missing controller</code> or any other error that <code>CakePHP</code> can throw.</p>
  
  <p>Now my question may be fairly simple but i could not find any documentation on the subject.</p>
  
  <p>How do i redirect to a <code>404 not found</code> or a <code>500 execption</code> page (meaning how do i redirect to a costum page) if an execption should be found?</p>
  
  <p>in my config/core.php i found this:</p>
  
  <pre><code>    Configure::write('Exception', array(
      'handler' =&gt; 'ErrorHandler::handleException',
      'renderer' =&gt; 'ExceptionRenderer',
      'log' =&gt; true
  ));
  </code></pre>
  
  <p>However im not sure what i  should change it to?</p>