Class WellKnownOperationOutcomes
- Namespace
- Cratis.Arc
- Assembly
- Cratis.Arc.Core.dll
The outcomes Arc records commands and queries with, on spans and metrics.
public static class WellKnownOperationOutcomes
- Inheritance
-
WellKnownOperationOutcomes
- Inherited Members
Remarks
Only Error marks a span as failed. The others are expected outcomes: the caller was told no, which is the application working, or the caller cancelled the operation.
Fields
AppendRejected
The event store rejected the append the command produced, through a constraint or a concurrency conflict.
public const string AppendRejected = "append_rejected"
Field Value
Authorization
Authorization denied the operation.
public const string Authorization = "authorization"
Field Value
Cancelled
The operation was cancelled through its cancellation token, normally because the caller went away.
public const string Cancelled = "cancelled"
Field Value
Error
The operation failed with an error.
public const string Error = "error"
Field Value
Success
The operation succeeded.
public const string Success = "success"
Field Value
Validation
Validation rejected the operation.
public const string Validation = "validation"