code: public function handleException(Throwable $throwable)
      {
          if (null !== $this->bar) {
              // Compatible `addException(\Exception $e)`
              if (!($throwable instanceof Exception)) {
                  $throwable = new ErrorException(
                      $throwable->getMessage(),
                      $throwable->getCode(),
                      E_ERROR,
                      $throwable->getFile(),
                      $throwable->getLine()
                  );
              }
              $this->getBar()->getCollector('exceptions')->addException($throwable);
          }
  
          $this->wrapper($throwable);
      }
docs: 抛给 Wrapper 对象处理
  
  @param Throwable $throwable
  @return void