Exception: SidekiqUniqueJobs::NotUniqueWorker
- Inherits:
-
UniqueJobsError
- Object
- RuntimeError
- UniqueJobsError
- SidekiqUniqueJobs::NotUniqueWorker
- Defined in:
- lib/sidekiq_unique_jobs/exceptions.rb
Overview
Raised when a workers configuration is invalid
Instance Method Summary collapse
-
#initialize(options) ⇒ NotUniqueWorker
constructor
A new instance of NotUniqueWorker.
Constructor Details
#initialize(options) ⇒ NotUniqueWorker
Returns a new instance of NotUniqueWorker.
95 96 97 |
# File 'lib/sidekiq_unique_jobs/exceptions.rb', line 95 def initialize() super("#{[:class]} is not configured for uniqueness. Missing the key `:lock` in #{.inspect}") end |