Exception: WithAdvisoryLock::FailedToAcquireLock

Inherits:
StandardError
  • Object
show all
Defined in:
lib/with_advisory_lock/failed_to_acquire_lock.rb

Instance Method Summary collapse

Constructor Details

#initialize(lock_name) ⇒ FailedToAcquireLock

Returns a new instance of FailedToAcquireLock.



5
6
7
# File 'lib/with_advisory_lock/failed_to_acquire_lock.rb', line 5

def initialize(lock_name)
  super("Failed to acquire lock #{lock_name}")
end