ErrorPredicate
public enum ErrorPredicate : UInt32
Error code predicates for binding writers and non-standard layer implementers.
-
Returns
true
if the error indicates the operations in the transactions should be retried because of transient error.Declaration
Swift
case retryable = 50000
-
Returns
true
if the error indicates the transaction may have succeeded, though not in a way the system can verify.Declaration
Swift
case maybeCommitted = 50001
-
Returns
true
if the error indicates the transaction has not committed, though in a way that can be retried.Declaration
Swift
case retryableNotCommitted = 50002