Exception: DeepAgentsRb::SubAgentNotFoundError

Inherits:
SubAgentError show all
Defined in:
lib/deepagents/deepagentsrb/errors.rb

Overview

Error raised when a sub-agent is not found

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(agent_name) ⇒ SubAgentNotFoundError



55
56
57
58
# File 'lib/deepagents/deepagentsrb/errors.rb', line 55

def initialize(agent_name)
  @agent_name = agent_name
  super("Sub-agent not found: #{agent_name}")
end

Instance Attribute Details

#agent_nameObject (readonly)

Returns the value of attribute agent_name.



53
54
55
# File 'lib/deepagents/deepagentsrb/errors.rb', line 53

def agent_name
  @agent_name
end