Exception: Familia::Connection::TransactionCore::WatchAbortError

Inherits:
OptimisticLockError show all
Defined in:
lib/familia/connection/transaction_core.rb

Overview

Internal sentinel raised ONLY by execute_watched_transaction to mark a genuine WATCH abort (EXEC discarded). It lets the retry loop distinguish a real abort -- which should retry -- from an OptimisticLockError raised by the caller's pre_check or user block, which must propagate untouched (otherwise the loop would silently re-run the whole transaction and mask the real failure). Subclasses OptimisticLockError so a public rescue Familia::OptimisticLockError still catches an exhausted retry.