Exception: RubyLLM::MCP::Errors::ResponseError
- Defined in:
- lib/ruby_llm/mcp/errors.rb
Instance Attribute Summary collapse
-
#error ⇒ Object
readonly
Returns the value of attribute error.
Attributes inherited from BaseError
Instance Method Summary collapse
-
#initialize(message:, error:) ⇒ ResponseError
constructor
A new instance of ResponseError.
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: ) end |
Instance Attribute Details
#error ⇒ Object (readonly)
Returns the value of attribute error.
32 33 34 |
# File 'lib/ruby_llm/mcp/errors.rb', line 32 def error @error end |