Exception: RobotLab::To::AbortError

Inherits:
Error
  • Object
show all
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

Instance Method Summary collapse

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

#reasonObject (readonly)

Returns the value of attribute reason.



22
23
24
# File 'lib/robot_lab/to/errors.rb', line 22

def reason
  @reason
end