Exception: Agentic::Errors::LlmAuthenticationError
- Defined in:
- lib/agentic/errors/llm_error.rb
Overview
Error raised when the API returns an authentication error
Instance Attribute Summary
Attributes inherited from LlmError
Instance Method Summary collapse
-
#initialize(message, response: nil, context: nil) ⇒ LlmAuthenticationError
constructor
A new instance of LlmAuthenticationError.
-
#retryable? ⇒ Boolean
Whether this error is retryable.
Constructor Details
#initialize(message, response: nil, context: nil) ⇒ LlmAuthenticationError
Returns a new instance of LlmAuthenticationError.
130 131 132 |
# File 'lib/agentic/errors/llm_error.rb', line 130 def initialize(, response: nil, context: nil) super(, response: response, context: context) end |
Instance Method Details
#retryable? ⇒ Boolean
Returns Whether this error is retryable.
135 136 137 |
# File 'lib/agentic/errors/llm_error.rb', line 135 def retryable? false end |