EventVersionConflictException

class EventVersionConflictException(val eventStream: DomainEventStream, errorMsg: String = "Event Version[", cause: Throwable? = null) : WowException, RecoverableException

Exception thrown when there's a version conflict during event appending. This indicates that the expected version does not match the current version of the aggregate.

Parameters

eventStream

the domain event stream that caused the conflict

errorMsg

the error message (default: version conflict message)

cause

the underlying cause of the exception

Constructors

Link copied to clipboard
constructor(eventStream: DomainEventStream, errorMsg: String = "Event Version[", cause: Throwable? = null)

Properties

Link copied to clipboard