Exception: Browserbeam::StepExecutionError
- Defined in:
- lib/browserbeam/errors.rb
Instance Attribute Summary collapse
-
#action ⇒ Object
readonly
Returns the value of attribute action.
-
#step_index ⇒ Object
readonly
Returns the value of attribute step_index.
Attributes inherited from Error
#code, #context, #request_id, #status_code
Instance Method Summary collapse
-
#initialize(message, step_index: 0, action: "", **kwargs) ⇒ StepExecutionError
constructor
A new instance of StepExecutionError.
Constructor Details
#initialize(message, step_index: 0, action: "", **kwargs) ⇒ StepExecutionError
Returns a new instance of StepExecutionError.
48 49 50 51 52 |
# File 'lib/browserbeam/errors.rb', line 48 def initialize(, step_index: 0, action: "", **kwargs) super(, **kwargs) @step_index = step_index @action = action end |
Instance Attribute Details
#action ⇒ Object (readonly)
Returns the value of attribute action.
46 47 48 |
# File 'lib/browserbeam/errors.rb', line 46 def action @action end |
#step_index ⇒ Object (readonly)
Returns the value of attribute step_index.
46 47 48 |
# File 'lib/browserbeam/errors.rb', line 46 def step_index @step_index end |