Exception: Wurk::Job::Interrupted
- Inherits:
-
RuntimeError
- Object
- RuntimeError
- Wurk::Job::Interrupted
- Defined in:
- lib/wurk/job.rb
Overview
Raised mid-iteration when the run loop must yield — either a swarm
shutdown signal or a cooperative cancellation. The interrupt-handler
middleware catches it, re-pushes the job, and raises
Wurk::JobRetry::Skip so the retry layer skips error bookkeeping.
User code must not rescue this.
Spec: docs/target/sidekiq-free.md §6.4.