Rejected

class Rejected(val rejection: Rejection, val version: Int? = null, val duplicate: Boolean = false, val droppedEvents: Int = 0) : CommandOutcome

The command was refused and nothing was written: version is the aggregate's version the decision saw, null for a creation, whose aggregate does not exist, or a refusal before any decision. duplicate: a retry of a command whose rejection was committed with its events, answered with that rejection and the version they reached. droppedEvents: the events a creation's rejection carried, which were dropped, since its aggregate does not exist; 0 otherwise. The node warns about them, and the test DSL fails the command's specification.

Constructors

Link copied to clipboard
constructor(rejection: Rejection, version: Int? = null, duplicate: Boolean = false, droppedEvents: Int = 0)

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val version: Int?

Functions

Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
Link copied to clipboard
open override fun hashCode(): Int
Link copied to clipboard
open override fun toString(): String