AggregateExistsException constructor
AggregateExistsException(
- Type type,
- AggregateId id, [
- Object? cause
Implementation
AggregateExistsException(
Type type,
AggregateId id, [
this.cause,
]) : super(
"Aggregate $type '$id' exists already "
'in stream ${StreamName.fromId(type, id)}',
);