Exception: DeepAgentsRb::CredentialsError
- Inherits:
-
ModelError
- Object
- StandardError
- Error
- ModelError
- DeepAgentsRb::CredentialsError
- Defined in:
- lib/deepagents/deepagentsrb/errors.rb
Overview
Error raised when there’s an issue with API credentials
Instance Method Summary collapse
-
#initialize(model_name) ⇒ CredentialsError
constructor
A new instance of CredentialsError.
Constructor Details
#initialize(model_name) ⇒ CredentialsError
Returns a new instance of CredentialsError.
43 44 45 |
# File 'lib/deepagents/deepagentsrb/errors.rb', line 43 def initialize(model_name) super("Missing API credentials for #{model_name}") end |