Exception: CPEE::LLM::LLMError
- Inherits:
-
StandardError
- Object
- StandardError
- CPEE::LLM::LLMError
- Defined in:
- lib/cpee/llm/rubyllm_requests.rb
Overview
own llm error class
Instance Attribute Summary collapse
-
#http_response ⇒ Object
readonly
{{{.
Instance Method Summary collapse
-
#initialize(message = "Something went wrong", http_response = 500) ⇒ LLMError
constructor
A new instance of LLMError.
Constructor Details
#initialize(message = "Something went wrong", http_response = 500) ⇒ LLMError
Returns a new instance of LLMError.
28 29 30 31 |
# File 'lib/cpee/llm/rubyllm_requests.rb', line 28 def initialize( = "Something went wrong", http_response = 500) @http_response = http_response super() end |
Instance Attribute Details
#http_response ⇒ Object (readonly)
{{{
27 28 29 |
# File 'lib/cpee/llm/rubyllm_requests.rb', line 27 def http_response @http_response end |