File: failed_to_acquire_lock.rb

package info (click to toggle)
ruby-with-advisory-lock 5.3.0-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 244 kB
  • sloc: ruby: 818; makefile: 14
file content (9 lines) | stat: -rw-r--r-- 198 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
# frozen_string_literal: true

module WithAdvisoryLock
  class FailedToAcquireLock < StandardError
    def initialize(lock_name)
      super("Failed to acquire lock #{lock_name}")
    end
  end
end