Exception: SidekiqBatch::OrphanedJobError
- Inherits:
-
StandardError
- Object
- StandardError
- SidekiqBatch::OrphanedJobError
- Defined in:
- app/models/sidekiq_batch/orphaned_job_error.rb
Instance Method Summary collapse
-
#initialize(jid:) ⇒ OrphanedJobError
constructor
A new instance of OrphanedJobError.
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 |