We don't actually use this anywhere, so let's remove it.

https://github.com/facebook/react/blob/f1d00156df5453bc62bd5668fefdcac4ca67e90e/src/renderers/shared/fiber/ReactFiberScheduler.js#L1504-L1512
} catch (e) {
        didError = true;
        error = e;
      }
    }
    
    while (didError) {
      if (didFatal) {
        
        firstUncaughtError = error;
        break;
      }
      const failedWork = nextUnitOfWork;
      if (failedWork === null) {
        
        
        didFatal = true;
        continue;
      }
      
      
      const boundary = captureError(failedWork, error);