DomainEventException

constructor(domainEvent: DomainEvent<out ErrorInfo>)

Creates a new DomainEventException from a domain event with error info