pub async fn store_errors( file: &Path, document: ErrorData, ) -> Result<(), StoreError>
Stores retrieval errors to a file.