Exception: DeepAgents::ToolCallParseError

Inherits:
Error
  • Object
show all
Defined in:
lib/deepagents/errors.rb

Overview

Error raised when there’s an issue with parsing a tool call

Instance Attribute Summary collapse

Instance Method Summary collapse

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(message, raw_content = nil)
  @raw_content = raw_content
  super(message)
end

Instance Attribute Details

#raw_contentObject (readonly)

Returns the value of attribute raw_content.



63
64
65
# File 'lib/deepagents/errors.rb', line 63

def raw_content
  @raw_content
end