Exception: AcidicJob::SucceededStepError

Inherits:
Error
  • Object
show all
Defined in:
lib/acidic_job/errors.rb

Instance Method Summary collapse

Constructor Details

#initialize(step) ⇒ SucceededStepError

Returns a new instance of SucceededStepError.



75
76
77
78
# File 'lib/acidic_job/errors.rb', line 75

def initialize(step)
  super
  @step = step
end

Instance Method Details

#messageObject



80
81
82
# File 'lib/acidic_job/errors.rb', line 80

def message
  "workflow has already recorded this step as succeeded: #{@step.inspect}"
end