Exception: RubyLLM::UnauthorizedError
- Defined in:
- lib/ruby_llm/error.rb
Overview
Raised for HTTP 401 responses when the API key is missing or invalid.
Instance Attribute Summary
Attributes inherited from Error
Class Method Summary collapse
-
.default_message ⇒ Object
:nodoc:.
Methods inherited from Error
Constructor Details
This class inherits a constructor from RubyLLM::Error
Class Method Details
.default_message ⇒ Object
:nodoc:
180 181 182 |
# File 'lib/ruby_llm/error.rb', line 180 def self. # :nodoc: 'Invalid API key - check your credentials' end |