code: public function handleFatalError()
      {
          if (($error = error_get_last()) && $error['type'] == E_ERROR) {
              self::handleError($error['type'], $error['message'], $error['file'], $error['line']);
          } else if ($this->bar instanceof DebugBar && $this->isDisplay()) {
              // Shutdown script running.
              // If enable debug mode. Can be auto show debugbar into html page.
              $this->bar->output();
          }
      }
docs: 将错误托管給 exception(handleException) 处理。
  
  @throws ErrorException