Skip to content

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

Properties

Fields

  • NotStartedCode The 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 new Idempotency-Key.
  • OutcomeUnknownCode The 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.