Table of Contents

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

exception Exception
componentName string
componentKind PipelineComponentKind
occurredAtUtc DateTimeOffset
message string

Properties

ComponentKind

Gets the kind of component that produced the fault.

public PipelineComponentKind ComponentKind { get; }

Property Value

PipelineComponentKind

ComponentName

Gets the logical component name that produced the fault.

public string ComponentName { get; }

Property Value

string

Exception

Gets the underlying exception that caused the fault.

public Exception Exception { get; }

Property Value

Exception

Message

Gets the consumer-facing message associated with the fault.

public string? Message { get; }

Property Value

string

OccurredAtUtc

Gets the time the fault occurred.

public DateTimeOffset OccurredAtUtc { get; }

Property Value

DateTimeOffset