Exception: MandateJob::PreqJobNotFinishedError
- Inherits:
-
RuntimeError
- Object
- RuntimeError
- MandateJob::PreqJobNotFinishedError
- Defined in:
- lib/mandate/rails/mandate_job.rb
Instance Method Summary collapse
-
#initialize(job_id) ⇒ PreqJobNotFinishedError
constructor
A new instance of PreqJobNotFinishedError.
- #to_s ⇒ Object
Constructor Details
#initialize(job_id) ⇒ PreqJobNotFinishedError
Returns a new instance of PreqJobNotFinishedError.
14 15 16 17 |
# File 'lib/mandate/rails/mandate_job.rb', line 14 def initialize(job_id) @job_id = job_id super(nil) end |
Instance Method Details
#to_s ⇒ Object
19 20 21 |
# File 'lib/mandate/rails/mandate_job.rb', line 19 def to_s "Unfinished job: #{job_id}" end |