Exception: DeepAgents::ToolCallParseError
- Defined in:
- lib/deepagents/errors.rb
Overview
Error raised when there’s an issue with parsing a tool call
Instance Attribute Summary collapse
-
#raw_content ⇒ Object
readonly
Returns the value of attribute raw_content.
Instance Method Summary collapse
-
#initialize(message, raw_content = nil) ⇒ ToolCallParseError
constructor
A new instance of ToolCallParseError.
Constructor Details
#initialize(message, raw_content = nil) ⇒ ToolCallParseError
Returns a new instance of ToolCallParseError.
65 66 67 68 |
# File 'lib/deepagents/errors.rb', line 65 def initialize(, raw_content = nil) @raw_content = raw_content super() end |
Instance Attribute Details
#raw_content ⇒ Object (readonly)
Returns the value of attribute raw_content.
63 64 65 |
# File 'lib/deepagents/errors.rb', line 63 def raw_content @raw_content end |