Exception: Roby::TaskStructure::ExecutionAgentSpawningFailed
- Inherits:
-
LocalizedError
- Object
- RuntimeError
- LocalizedError
- Roby::TaskStructure::ExecutionAgentSpawningFailed
- Defined in:
- lib/roby/relations/executed_by.rb
Instance Attribute Summary collapse
-
#agent_model ⇒ Object
readonly
Returns the value of attribute agent_model.
-
#error ⇒ Object
readonly
Returns the value of attribute error.
Attributes inherited from LocalizedError
#failed_event, #failed_generator, #failed_task, #failure_point
Instance Method Summary collapse
-
#initialize(task, agent_model, error) ⇒ ExecutionAgentSpawningFailed
constructor
A new instance of ExecutionAgentSpawningFailed.
Methods inherited from LocalizedError
#involved_plan_object?, #pretty_print
Constructor Details
#initialize(task, agent_model, error) ⇒ ExecutionAgentSpawningFailed
Returns a new instance of ExecutionAgentSpawningFailed.
102 103 104 105 |
# File 'lib/roby/relations/executed_by.rb', line 102 def initialize(task, agent_model, error) super(task) @agent_model, @error = agent_model, error end |
Instance Attribute Details
#agent_model ⇒ Object (readonly)
Returns the value of attribute agent_model.
101 102 103 |
# File 'lib/roby/relations/executed_by.rb', line 101 def agent_model @agent_model end |
#error ⇒ Object (readonly)
Returns the value of attribute error.
101 102 103 |
# File 'lib/roby/relations/executed_by.rb', line 101 def error @error end |