Class CommandOperationFailure
- Namespace
- Cratis.Arc.Commands
- Assembly
- Cratis.Arc.Core.dll
Immutable server-only original failure context optionally injected into Compensate. It cannot change command success.
public sealed class CommandOperationFailure
- Inheritance
-
CommandOperationFailure
- Inherited Members
- Extension Methods
Properties
CommitDisposition
Gets coordinated commitment facts used to authorize recovery.
public CommandCommitDisposition CommitDisposition { get; }
Property Value
ExceptionMessages
Gets a defensive snapshot of original exception messages. Recovery failures are reported separately.
public IReadOnlyList<string> ExceptionMessages { get; }
Property Value
InvocationCompleted
Gets whether this invocation's Execute returned.
public bool InvocationCompleted { get; }
Property Value
InvocationIndex
Gets the zero-based invocation index.
public int InvocationIndex { get; }
Property Value
IsFailingInvocation
Gets whether this invocation threw the original failure.
public bool IsFailingInvocation { get; }
Property Value
Source
Gets the original failure phase.
public CommandOperationFailureSource Source { get; }