Exception: RubyReactor::Error::StepFailureError

Inherits:
Base
  • Object
show all
Defined in:
lib/ruby_reactor/error/step_failure_error.rb

Instance Attribute Summary collapse

Attributes inherited from Base

#context, #original_error, #step

Instance Method Summary collapse

Constructor Details

#initialize(message, step: nil, context: nil, original_error: nil, step_arguments: {}) ⇒ StepFailureError



8
9
10
11
# File 'lib/ruby_reactor/error/step_failure_error.rb', line 8

def initialize(message, step: nil, context: nil, original_error: nil, step_arguments: {})
  super(message, step: step, context: context, original_error: original_error)
  @step_arguments = step_arguments
end

Instance Attribute Details

#step_argumentsObject (readonly)

Returns the value of attribute step_arguments.



6
7
8
# File 'lib/ruby_reactor/error/step_failure_error.rb', line 6

def step_arguments
  @step_arguments
end

Instance Method Details

#retryable?Boolean



13
14
15
# File 'lib/ruby_reactor/error/step_failure_error.rb', line 13

def retryable?
  true
end