Exception: RubyReactor::Error::StepFailureError
- Defined in:
- lib/ruby_reactor/error/step_failure_error.rb
Instance Attribute Summary collapse
-
#step_arguments ⇒ Object
readonly
Returns the value of attribute step_arguments.
Attributes inherited from Base
#context, #original_error, #step
Instance Method Summary collapse
-
#initialize(message, step: nil, context: nil, original_error: nil, step_arguments: {}) ⇒ StepFailureError
constructor
A new instance of StepFailureError.
- #retryable? ⇒ Boolean
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(, step: nil, context: nil, original_error: nil, step_arguments: {}) super(, step: step, context: context, original_error: original_error) @step_arguments = step_arguments end |
Instance Attribute Details
#step_arguments ⇒ Object (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 |