Rejected

class Rejected @InternalWowApi constructor(val type: AggregateType, val commandType: String, val code: String, val withEvents: Boolean) : ObservedEvent

A command of commandType on type that the aggregate's decision rejected with code, an outcome of the business rather than a failure. withEvents is whether the rejection carried events; a committed rejection's events are also observed as any commit's. code is text: rejection codes are the application's vocabulary.

Constructors

Link copied to clipboard
constructor(type: AggregateType, commandType: String, code: String, withEvents: Boolean)

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard