Exception: WithAdvisoryLock::FailedToAcquireLock
- Inherits:
-
StandardError
- Object
- StandardError
- WithAdvisoryLock::FailedToAcquireLock
- Defined in:
- lib/with_advisory_lock/failed_to_acquire_lock.rb
Instance Method Summary collapse
-
#initialize(lock_name) ⇒ FailedToAcquireLock
constructor
A new instance of FailedToAcquireLock.
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 |