MCPcopy Create free account
hub / github.com/anthropics/anthropic-sdk-python / CredentialsError

Class CredentialsError

src/anthropic/_exceptions.py:117–118  ·  view source on GitHub ↗

Raised when credentials cannot be loaded from local files, config, or the environment.

Source from the content-addressed store, hash-verified

115
116
117class CredentialsError(AnthropicError):
118 """Raised when credentials cannot be loaded from local files, config, or the environment."""
119
120
121class IdentityTokenFileError(CredentialsError):

Callers 13

_coerce_expires_atFunction · 0.85
__call__Method · 0.85
_load_configMethod · 0.85
_read_credentialsMethod · 0.85
__call__Method · 0.85
_call_user_oauthMethod · 0.85
__init__Method · 0.85
__init__Method · 0.85
_read_env_tokenFunction · 0.85
_require_httpsFunction · 0.85
_validate_profile_nameFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected