Table of Contents

Class DomainEventHandlerFailure

Namespace
Trellis.Mediator
Assembly
Trellis.Mediator.dll

A single handler's failure during a reported domain-event dispatch.

public sealed record DomainEventHandlerFailure : IEquatable<DomainEventHandlerFailure>
Inheritance
DomainEventHandlerFailure
Implements
Inherited Members
Extension Methods

Constructors

DomainEventHandlerFailure(string, Exception)

A single handler's failure during a reported domain-event dispatch.

public DomainEventHandlerFailure(string HandlerType, Exception Error)

Parameters

HandlerType string

The handler's stable identity, as produced by HandlerIdentity(Type).

Error Exception

The exception the handler threw.

Properties

Error

The exception the handler threw.

public Exception Error { get; init; }

Property Value

Exception

HandlerType

The handler's stable identity, as produced by HandlerIdentity(Type).

public string HandlerType { get; init; }

Property Value

string