Exception: Agentic::Errors::LlmServerError
- Defined in:
- lib/agentic/errors/llm_error.rb
Overview
Error raised when the API returns a server error
Instance Attribute Summary
Attributes inherited from LlmError
Instance Method Summary collapse
-
#initialize(message, response: nil, context: nil) ⇒ LlmServerError
constructor
A new instance of LlmServerError.
-
#retryable? ⇒ Boolean
Whether this error is retryable.
Constructor Details
#initialize(message, response: nil, context: nil) ⇒ LlmServerError
Returns a new instance of LlmServerError.
145 146 147 |
# File 'lib/agentic/errors/llm_error.rb', line 145 def initialize(, response: nil, context: nil) super(, response: response, context: context) end |
Instance Method Details
#retryable? ⇒ Boolean
Returns Whether this error is retryable.
150 151 152 |
# File 'lib/agentic/errors/llm_error.rb', line 150 def retryable? true end |