Types

Link copied to clipboard
data class Conflict(val expectedVersion: Long?, val actualVersion: Long?) : AppendResult.Failure<Nothing>
Link copied to clipboard
Link copied to clipboard
data class NotFound(val aggregateId: String) : AppendResult.Failure<Nothing>
Link copied to clipboard
data class OutcomeUnknown<EVENT>(val preparedAppend: PreparedAppend<EVENT>, val cause: Throwable) : AppendResult.Failure<EVENT>

The store cannot determine whether the append committed, commonly because communication failed after the store may have accepted the write but before the client received a definitive acknowledgement.