Exception: Roby::Coordination::Script::TimedOut

Inherits:
LocalizedError show all
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

Attributes inherited from LocalizedError

#failed_event, #failed_generator, #failed_task, #failure_point

Attributes inherited from ExceptionBase

#original_exceptions

Instance Method Summary collapse

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

#droby_dump

Methods inherited from ExceptionBase

#each_original_exception, #report_exceptions_from

Methods included from DRoby::V5::ExceptionBaseDumper

#droby_dump

Methods included from DRoby::V5::Builtins::ExceptionDumper

#droby_dump

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

#instructionObject (readonly)

Returns the value of attribute instruction.



97
98
99
# File 'lib/roby/coordination/script.rb', line 97

def instruction
  @instruction
end