Exception: Chorus::MissingAPIKeyError
- Inherits:
-
StandardError
- Object
- StandardError
- Chorus::MissingAPIKeyError
- Defined in:
- lib/chorus/client.rb
Overview
Raised when ANTHROPIC_API_KEY is not set in the environment.
Instance Method Summary collapse
-
#initialize(msg = "ANTHROPIC_API_KEY is not set. Export it before using Chorus.") ⇒ MissingAPIKeyError
constructor
A new instance of MissingAPIKeyError.
Constructor Details
#initialize(msg = "ANTHROPIC_API_KEY is not set. Export it before using Chorus.") ⇒ MissingAPIKeyError
Returns a new instance of MissingAPIKeyError.
10 11 12 |
# File 'lib/chorus/client.rb', line 10 def initialize(msg = "ANTHROPIC_API_KEY is not set. Export it before using Chorus.") super end |