Exception: LLM::ResponseError
Overview
The superclass of all HTTP protocol errors
Instance Attribute Summary collapse
-
#response ⇒ Net::HTTPResponse
Returns the response associated with an error.
Instance Method Summary collapse
Methods inherited from Error
Constructor Details
This class inherits a constructor from LLM::Error
Instance Attribute Details
#response ⇒ Net::HTTPResponse
Returns the response associated with an error
19 20 21 |
# File 'lib/llm/error.rb', line 19 def response @response end |
Instance Method Details
#message ⇒ Object
21 22 23 |
# File 'lib/llm/error.rb', line 21 def [super, response.body].join("\n") end |