Exception: AcidicJob::UndefinedStepError

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

Instance Method Summary collapse

Constructor Details

#initialize(step) ⇒ UndefinedStepError

Returns a new instance of UndefinedStepError.



64
65
66
67
# File 'lib/acidic_job/errors.rb', line 64

def initialize(step)
  super
  @step = step
end

Instance Method Details

#messageObject



69
70
71
# File 'lib/acidic_job/errors.rb', line 69

def message
  "workflow does not reference this step: #{@step.inspect}"
end