Exception: LLM::Error
- Inherits:
-
RuntimeError
- Object
- RuntimeError
- LLM::Error
- Defined in:
- lib/llm/error.rb
Overview
The superclass of all LLM errors
Direct Known Subclasses
Defined Under Namespace
Classes: ResponseError
Constant Summary collapse
Class.new(ResponseError)
- RateLimit =
HTTPTooManyRequests
Class.new(ResponseError)
Instance Method Summary collapse
-
#initialize ⇒ Error
constructor
A new instance of Error.
Constructor Details
#initialize ⇒ Error
Returns a new instance of Error.
7 8 9 |
# File 'lib/llm/error.rb', line 7 def initialize block_given? ? yield(self) : nil end |