DuplicateRequestIdException
Exception thrown when a duplicate request ID is detected.
This exception occurs when attempting to process a command with a request ID that has already been processed for the same aggregate, preventing duplicate command execution.
Parameters
the aggregate for which the duplicate was detected
the duplicate request identifier
custom error message (default provided)
the underlying cause (optional)
See also
Constructors
Properties
Functions
Creates an AggregateId for this NamedAggregate with the specified parameters.
Finds the aggregate type class associated with this named aggregate.
Converts this NamedAggregate to its corresponding AggregateMetadata.
Generates a unique ID string for this NamedAggregate.
Gets the context alias prefix for this bounded context.
Checks if the named aggregate is available locally at runtime.
Materializes this NamedAggregate into a MaterializedNamedAggregate.
Finds the aggregate type class associated with this named aggregate, throwing an exception if not found.
Converts this Throwable to standardized ErrorInfo.
Extension function to convert a NamedAggregate to an EventNamedAggregate.
Converts this NamedAggregate to its string representation.
Converts a Throwable to a CommandResult representing a command failure.
Converts this NamedAggregate to a string representation using the context alias.