Exception: SidekiqBatch::OrphanedJobError

Inherits:
StandardError
  • Object
show all
Defined in:
app/models/sidekiq_batch/orphaned_job_error.rb

Instance Method Summary collapse

Constructor Details

#initialize(jid:) ⇒ OrphanedJobError

Returns a new instance of OrphanedJobError.



5
6
7
# File 'app/models/sidekiq_batch/orphaned_job_error.rb', line 5

def initialize(jid:)
  super("SidekiqBatchJob jid=#{jid} is not present anywhere in Sidekiq — orphaned by the stuck-job reaper")
end