PipelineExecutionFailureKinds
Namespace: Meshmakers.Octo.Communication.Contracts.DataTransferObjects
Derives the PipelineExecutionFailureKind of a failed pipeline execution from the exception that ended
it. Every pipeline host (mesh adapter, SDK adapters, pool members) calls this one method, so the decision
is made in exactly one place: of the engine, which the CK method host
of octo-common-services uses for service handlers as well.
public static class PipelineExecutionFailureKinds
Inheritance Object → PipelineExecutionFailureKinds
Methods
Of(Exception)
PipelineExecutionFailureKind.OutcomeUnknown when exception (or an exception it
wraps) says that a write was not acknowledged and may have taken effect,
PipelineExecutionFailureKind.Failed otherwise (also for null).
public static PipelineExecutionFailureKind Of(Exception exception)
Parameters
exception Exception