original_string: public function handleException($exception)
      {
          if (!$this->ignorePrevHandler && $this->prevExceptionHandler) {
              call_user_func($this->prevExceptionHandler, $exception);
          }
  
          if (404 == $exception->getCode()) {
              if ($this->triggerHandler('notFound', $exception)) {
                  return;
              }
          }
  
          if (!$this->triggerHandler('error', $exception)) {
              $this->internalHandleException($exception);
          }
  
          restore_exception_handler();
      }
code: public function handleException($exception)
      {
          if (!$this->ignorePrevHandler && $this->prevExceptionHandler) {
              call_user_func($this->prevExceptionHandler, $exception);
          }
  
          if (404 == $exception->getCode()) {
              if ($this->triggerHandler('notFound', $exception)) {
                  return;
              }
          }
  
          if (!$this->triggerHandler('error', $exception)) {
              $this->internalHandleException($exception);
          }
  
          restore_exception_handler();
      }
code_tokens: public function handleException ( $ exception ) { if ( ! $ this -> ignorePrevHandler && $ this -> prevExceptionHandler ) { call_user_func ( $ this -> prevExceptionHandler , $ exception ) ; } if ( 404 == $ exception -> getCode ( ) ) { if ( $ this -> triggerHandler ( 'notFound' , $ exception ) ) { return ; } } if ( ! $ this -> triggerHandler ( 'error' , $ exception ) ) { $ this -> internalHandleException ( $ exception ) ; } restore_exception_handler ( ) ; }
docstring: The exception handler to render pretty message
  
  @param \Exception|\Throwable $exception
docstring_tokens: The exception handler to render pretty message