Exception: Roby::Coordination::Script::TimedOut
- Inherits:
-
LocalizedError
- Object
- RuntimeError
- ExceptionBase
- LocalizedError
- Roby::Coordination::Script::TimedOut
- Defined in:
- lib/roby/coordination/script.rb
Overview
Exception generated when a timeout block has reached its specified limit, if the :event argument has not been set
Instance Attribute Summary collapse
-
#instruction ⇒ Object
readonly
Returns the value of attribute instruction.
Attributes inherited from LocalizedError
#failed_event, #failed_generator, #failed_task, #failure_point
Attributes inherited from ExceptionBase
Instance Method Summary collapse
-
#initialize(task, instruction) ⇒ TimedOut
constructor
A new instance of TimedOut.
Methods inherited from LocalizedError
#fatal?, #involved_plan_object?, match, #pretty_print, #propagated?, #to_execution_exception, to_execution_exception_matcher
Methods included from DRoby::V5::LocalizedErrorDumper
Methods inherited from ExceptionBase
#each_original_exception, #report_exceptions_from
Methods included from DRoby::V5::ExceptionBaseDumper
Methods included from DRoby::V5::Builtins::ExceptionDumper
Constructor Details
#initialize(task, instruction) ⇒ TimedOut
Returns a new instance of TimedOut.
99 100 101 102 |
# File 'lib/roby/coordination/script.rb', line 99 def initialize(task, instruction) super(task) @instruction = instruction end |
Instance Attribute Details
#instruction ⇒ Object (readonly)
Returns the value of attribute instruction.
97 98 99 |
# File 'lib/roby/coordination/script.rb', line 97 def instruction @instruction end |