Class PipelineFaultState
- Namespace
- Pipelinez.Core.FaultHandling
- Assembly
- Pipelinez.dll
Represents a fault captured by Pipelinez for a record or the pipeline runtime.
public sealed class PipelineFaultState
- Inheritance
-
PipelineFaultState
- Inherited Members
Constructors
PipelineFaultState(Exception, string, PipelineComponentKind, DateTimeOffset, string?)
Initializes a new fault state instance.
public PipelineFaultState(Exception exception, string componentName, PipelineComponentKind componentKind, DateTimeOffset occurredAtUtc, string? message = null)
Parameters
exceptionExceptioncomponentNamestringcomponentKindPipelineComponentKindoccurredAtUtcDateTimeOffsetmessagestring
Properties
ComponentKind
Gets the kind of component that produced the fault.
public PipelineComponentKind ComponentKind { get; }
Property Value
ComponentName
Gets the logical component name that produced the fault.
public string ComponentName { get; }
Property Value
Exception
Gets the underlying exception that caused the fault.
public Exception Exception { get; }
Property Value
Message
Gets the consumer-facing message associated with the fault.
public string? Message { get; }
Property Value
OccurredAtUtc
Gets the time the fault occurred.
public DateTimeOffset OccurredAtUtc { get; }