Class DomainEventHandlerFailure
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
HandlerTypestringThe handler's stable identity, as produced by HandlerIdentity(Type).
ErrorExceptionThe exception the handler threw.
Properties
Error
The exception the handler threw.
public Exception Error { get; init; }
Property Value
HandlerType
The handler's stable identity, as produced by HandlerIdentity(Type).
public string HandlerType { get; init; }