Exception: RubyLLM::MCP::Errors::ResponseError

Inherits:
BaseError
  • Object
show all
Defined in:
lib/ruby_llm/mcp/errors.rb

Instance Attribute Summary collapse

Attributes inherited from BaseError

#message

Instance Method Summary collapse

Constructor Details

#initialize(message:, error:) ⇒ ResponseError

Returns a new instance of ResponseError.



34
35
36
37
# File 'lib/ruby_llm/mcp/errors.rb', line 34

def initialize(message:, error:)
  @error = error
  super(message: message)
end

Instance Attribute Details

#errorObject (readonly)

Returns the value of attribute error.



32
33
34
# File 'lib/ruby_llm/mcp/errors.rb', line 32

def error
  @error
end