Class DocumentLeaseFailure<TKey>
One commit failure inside a DocumentLease<T, TKey>.
public record DocumentLeaseFailure<TKey> : IEquatable<DocumentLeaseFailure<TKey>>
Type Parameters
TKey
- Inheritance
-
DocumentLeaseFailure<TKey>
- Implements
-
IEquatable<DocumentLeaseFailure<TKey>>
- Inherited Members
Properties
Error
Human-readable failure message.
public required string Error { get; init; }
Property Value
Id
The id of the document whose decision failed to apply.
public required TKey Id { get; init; }
Property Value
- TKey
IntendedDecision
The decision that was attempted. null if the failure occurred during the release-unchanged path.
public required CommitMode? IntendedDecision { get; init; }