Rejected
class Rejected @InternalWowApi constructor(val rejection: Rejection, val events: List<Any> = emptyList()) : Decision
The command is refused for rejection, with the events it carries: ordinary events of the aggregate, each sourced by it, appended with the rejection in one stream. Without events nothing is appended; a rejection of a creation appends nothing either.
Fields may be added: construct one with of; the constructor is internal to Wow.