Exception: Roby::TaskStructure::ExecutionAgentSpawningFailed

Inherits:
LocalizedError show all
Defined in:
lib/roby/relations/executed_by.rb

Instance Attribute Summary collapse

Attributes inherited from LocalizedError

#failed_event, #failed_generator, #failed_task, #failure_point

Instance Method Summary collapse

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_modelObject (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

#errorObject (readonly)

Returns the value of attribute error.



101
102
103
# File 'lib/roby/relations/executed_by.rb', line 101

def error
  @error
end