DurableOperationError
record
Namespace: Orleans.Durable.Http
Describes why an operation failed or was canceled.
[Orleans.GenerateSerializer][Orleans.Immutable][Orleans.Alias(Orleans.Durable.Http.DurableOperationError)]public record DurableOperationError : IEquatable<DurableOperationError>Constructors
DurableOperationError(string, string)Describes why an operation failed or was canceled.
Properties
CodeA machine-readable code, whichDurableHttpOptionschooses.MessageA human-readable description.
Fields
NotStartedCodeThe code of a failed operation whose work never ran, because the grain which runs it refused it without storing it, such as when the work's identifier already names another method's task there. A client starts the work again with a newIdempotency-Key.OutcomeUnknownCodeThe code of a failed operation whose work's grain didn't confirm the work, so whether it ran is unknown: the delivery of its start retired without an acknowledgement, or arrived after the grain's admission window, by which time the grain may have run it and deleted it. A client checks the work's effects, such as the resource it creates, before it starts the work again, so the work's side effects aren't duplicated.
