RedisTransactionConflictError
ClassExperimentalSignature
class RedisTransactionConflictError extends ErrorThrown when a Redis transaction keeps conflicting with concurrent commits: every try found a
record or dependency set it read changed by another transaction before it could commit. When the
last try's callback threw after reading changed records, that error is the cause.
Constructor
Signature
new RedisTransactionConflictError(message, options): RedisTransactionConflictError;Experimental
Parameters
- message
string - options
object - options.cause?
unknown - options.tries
number
Overrides
Error.constructor
Properties
- tries
numberExperimentalNumber of tries the transaction ran before giving up.