Exception: Roast::Workflow::StepLoader::StepLoaderError
- Inherits:
-
StandardError
- Object
- StandardError
- Roast::Workflow::StepLoader::StepLoaderError
- Defined in:
- lib/roast/workflow/step_loader.rb
Overview
Custom exception classes
Direct Known Subclasses
Instance Attribute Summary collapse
-
#original_error ⇒ Object
readonly
Returns the value of attribute original_error.
-
#step_name ⇒ Object
readonly
Returns the value of attribute step_name.
Instance Method Summary collapse
-
#initialize(message, step_name: nil, original_error: nil) ⇒ StepLoaderError
constructor
A new instance of StepLoaderError.
Constructor Details
#initialize(message, step_name: nil, original_error: nil) ⇒ StepLoaderError
Returns a new instance of StepLoaderError.
13 14 15 16 17 |
# File 'lib/roast/workflow/step_loader.rb', line 13 def initialize(, step_name: nil, original_error: nil) @step_name = step_name @original_error = original_error super() end |
Instance Attribute Details
#original_error ⇒ Object (readonly)
Returns the value of attribute original_error.
11 12 13 |
# File 'lib/roast/workflow/step_loader.rb', line 11 def original_error @original_error end |
#step_name ⇒ Object (readonly)
Returns the value of attribute step_name.
11 12 13 |
# File 'lib/roast/workflow/step_loader.rb', line 11 def step_name @step_name end |