Exception: RobotLab::To::AbortError
- Defined in:
- lib/robot_lab/to/errors.rb
Overview
A stop condition was triggered. Results in a clean exit (not an error).
Instance Attribute Summary collapse
-
#reason ⇒ Object
readonly
Returns the value of attribute reason.
Instance Method Summary collapse
-
#initialize(reason) ⇒ AbortError
constructor
A new instance of AbortError.
Constructor Details
#initialize(reason) ⇒ AbortError
Returns a new instance of AbortError.
24 25 26 27 |
# File 'lib/robot_lab/to/errors.rb', line 24 def initialize(reason) super @reason = reason end |
Instance Attribute Details
#reason ⇒ Object (readonly)
Returns the value of attribute reason.
22 23 24 |
# File 'lib/robot_lab/to/errors.rb', line 22 def reason @reason end |