Package com.google.cloud.firestore
Interface BulkWriter.WriteErrorCallback
- Enclosing class:
- BulkWriter
public static interface BulkWriter.WriteErrorCallback
A callback set by `addWriteErrorListener()` to be run every time an operation fails and
determines if an operation should be retried.
-
Method Summary
-
Method Details
-
onError
- Parameters:
error- The error object from the failed BulkWriter operation attempt.- Returns:
- Whether to retry the operation or not.
-