Exception: DeepAgents::SubAgentNotFoundError
- Inherits:
-
SubAgentError
- Object
- StandardError
- Error
- SubAgentError
- DeepAgents::SubAgentNotFoundError
- Defined in:
- lib/deepagents/errors.rb
Overview
Error raised when a sub-agent is not found
Instance Attribute Summary collapse
-
#agent_name ⇒ Object
readonly
Returns the value of attribute agent_name.
Instance Method Summary collapse
-
#initialize(agent_name) ⇒ SubAgentNotFoundError
constructor
A new instance of SubAgentNotFoundError.
Constructor Details
#initialize(agent_name) ⇒ SubAgentNotFoundError
Returns a new instance of SubAgentNotFoundError.
55 56 57 58 |
# File 'lib/deepagents/errors.rb', line 55 def initialize(agent_name) @agent_name = agent_name super("Sub-agent not found: #{agent_name}") end |
Instance Attribute Details
#agent_name ⇒ Object (readonly)
Returns the value of attribute agent_name.
53 54 55 |
# File 'lib/deepagents/errors.rb', line 53 def agent_name @agent_name end |