Buckets:
AnonymousSpottedToad/candidate_bucket / codebase /python /Athroniaeth_keyshield /src /keyshield /domain /errors.py
| class ApiKeyError(Exception): | |
| """Base class for all API key related errors.""" | |
| ... | |
| class KeyNotFound(ApiKeyError): | |
| """Raised when no API key with the requested ID exists.""" | |
| ... | |
| class KeyNotProvided(ApiKeyError): | |
| """Raised when an API key is required but not provided.""" | |
| ... | |
| class KeyInactive(ApiKeyError): | |
| """Raised when an API key exists but is marked as inactive.""" | |
| ... | |
| class KeyExpired(ApiKeyError): | |
| """Raised when an API key exists but is expired.""" | |
| ... | |
| class InvalidKey(ApiKeyError): | |
| """Raised when an API key is invalid (key key_id matches but hash does not).""" | |
| ... | |
| class InvalidScopes(ApiKeyError): | |
| """Raised when an API key does not have the required scopes for an operation.""" | |
| ... | |
| class KeyHashNotSet(ApiKeyError): | |
| """Raised when accessing key_hash on an entity that hasn't been hashed yet.""" | |
| ... | |
| class KeySecretNotSet(ApiKeyError): | |
| """Raised when accessing key_secret on an entity that hasn't been set.""" | |
| ... | |
| class ConfigurationError(ApiKeyError): | |
| """Raised when there is a configuration issue.""" | |
| ... | |
Xet Storage Details
- Size:
- 1.13 kB
- Xet hash:
- cce13386a17c9b17c1da16ae1ad069e2c812081317d5c564605198c4ea0ab46a
·
Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.