Exception: Chorus::MissingAPIKeyError

Inherits:
StandardError
  • Object
show all
Defined in:
lib/chorus/client.rb

Overview

Raised when ANTHROPIC_API_KEY is not set in the environment.

Instance Method Summary collapse

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