Class TransactionConflictException
- Namespace
- DynaSharp
- Assembly
- DynaSharp.dll
A request was rejected because an ongoing transaction includes the item it addresses. Not retried by the client: repeat the request after a short wait, which RetryOnConflictAsync<TResult>(Func<CancellationToken, ValueTask<TResult>>, CancellationToken) does.
public sealed class TransactionConflictException : DynamoDbException, ISerializable
- Inheritance
-
TransactionConflictException
- Implements
- Inherited Members
Remarks
This is the error of single-item operations and reads. A transaction that conflicts with another one is cancelled with a
TransactionCanceledException instead, whose reason for the action is TransactionConflict.
Constructors
TransactionConflictException(string, string?, HttpStatusCode)
Initializes a new instance of the TransactionConflictException class.
public TransactionConflictException(string message, string? requestId = null, HttpStatusCode statusCode = HttpStatusCode.BadRequest)
Parameters
messagestringThe error message returned by DynamoDB.
requestIdstringThe AWS request id, if known.
statusCodeHttpStatusCodeThe HTTP status code of the response.