IllegalAccessOwnerAggregateException

constructor(aggregateId: AggregateId, errorMsg: String = "Illegal access to a owner aggregate[")

Parameters

aggregateId

The ID of the owner-restricted aggregate being accessed.

errorMsg

Custom error message describing the access violation.