/** * Optimistic lock exception thrown when a concurrent update conflict occurs. */ export default class OptimisticLockException extends Error { #private; /** * Constructs an OptimisticLockException. * @param message - Error message. * @param entity - Conflicting target entity object. */ constructor(message: string, entity: any); /** * Retrieves the conflicting target entity object. * @returns Conflicting entity object. */ get entity(): any; }