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
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
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
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