Exception: Aigen::Google::AuthenticationError
- Defined in:
- lib/aigen/google/errors.rb
Overview
Authentication errors (401, 403)
Instance Attribute Summary
Attributes inherited from ApiError
Instance Method Summary collapse
-
#initialize(message = "Invalid API key. Get one at https://makersuite.google.com/app/apikey", status_code: 401) ⇒ AuthenticationError
constructor
A new instance of AuthenticationError.
Constructor Details
#initialize(message = "Invalid API key. Get one at https://makersuite.google.com/app/apikey", status_code: 401) ⇒ AuthenticationError
Returns a new instance of AuthenticationError.
23 24 25 |
# File 'lib/aigen/google/errors.rb', line 23 def initialize( = "Invalid API key. Get one at https://makersuite.google.com/app/apikey", status_code: 401) super end |