code: def _GetExtractionErrorsAsWarnings(self):
      
      for extraction_error in self._GetAttributeContainers(
          self._CONTAINER_TYPE_EXTRACTION_ERROR):
        error_attributes = extraction_error.CopyToDict()
        warning = warnings.ExtractionWarning()
        warning.CopyFromDict(error_attributes)
        yield warning
docs: Retrieves errors from from the store, and converts them to warnings.
  
      This method is for backwards compatibility with pre-20190309 storage format
      stores which used ExtractionError attribute containers.
  
      Yields:
        ExtractionWarning: extraction warnings.