Exception: SidekiqUniqueJobs::Conflict

Inherits:
UniqueJobsError show all
Defined in:
lib/sidekiq_unique_jobs/exceptions.rb

Overview

Error raised when a Lua script fails to execute

Author:

Instance Method Summary collapse

Constructor Details

#initialize(item) ⇒ Conflict

Returns a new instance of Conflict.



16
17
18
# File 'lib/sidekiq_unique_jobs/exceptions.rb', line 16

def initialize(item)
  super("Item with the key: #{item[LOCK_DIGEST]} is already scheduled or processing")
end