SourcingVersionConflictException

class SourcingVersionConflictException(val eventStream: DomainEventStream, val expectVersion: Int, errorMsg: String = "Expected EventStream version[") : WowException, NamedAggregate

Constructors

Link copied to clipboard
constructor(eventStream: DomainEventStream, expectVersion: Int, errorMsg: String = "Expected EventStream version[")

Properties

Link copied to clipboard
open override val aggregateName: String
Link copied to clipboard
open override val bindingErrors: List<BindingError>
Link copied to clipboard
open val cause: Throwable?
Link copied to clipboard
open override val contextName: String
Link copied to clipboard
override val errorCode: String
Link copied to clipboard
open override val errorMsg: String
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open override val message: String
Link copied to clipboard
Link copied to clipboard
open val succeeded: Boolean

Functions

Link copied to clipboard
Link copied to clipboard
fun NamedAggregate.aggregateId(id: String = generateId(), tenantId: String = TenantId.DEFAULT_TENANT_ID): DefaultAggregateId
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
fun NamedBoundedContext.getContextAlias(boundedContext: BoundedContext? = MetadataSearcher.metadata.contexts[contextName]): String
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open override fun isSameAggregateName(other: NamedAggregate): Boolean
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
fun Throwable.toResult(commandMessage: CommandMessage<*>, contextName: String = commandMessage.contextName, processorName: String, stage: CommandStage = CommandStage.SENT, result: Map<String, Any> = emptyMap()): CommandResult
Link copied to clipboard
Link copied to clipboard
fun Throwable.toWowException(errorCode: String = this.getErrorCode(), errorMsg: String = this.getErrorMsg()): WowException