Exception: LLM::Error::ResponseError

Inherits:
LLM::Error
  • Object
show all
Defined in:
lib/llm/error.rb

Overview

The superclass of all HTTP protocol errors

Constant Summary

Constants inherited from LLM::Error

RateLimit, Unauthorized

Instance Attribute Summary collapse

Method Summary

Methods inherited from LLM::Error

#initialize

Constructor Details

This class inherits a constructor from LLM::Error

Instance Attribute Details

#responseNet::HTTPResponse

Returns the response associated with an error

Returns:

  • (Net::HTTPResponse)

    Returns the response associated with an error



17
18
19
# File 'lib/llm/error.rb', line 17

def response
  @response
end