Add files via upload

initial commit
This commit is contained in:
Alpha Nerd 2026-03-06 15:54:47 +01:00 committed by GitHub
parent 8d3d5ff628
commit b33bb415dd
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
24 changed files with 4840 additions and 0 deletions

View file

@ -0,0 +1,25 @@
"""Custom exceptions for prompt-cache."""
class PromptCacheError(Exception):
"""Base exception for prompt-cache errors."""
pass
class CacheBackendError(PromptCacheError):
"""Exception raised when backend operations fail."""
pass
class CacheSerializationError(PromptCacheError):
"""Exception raised when serialization/deserialization fails."""
pass
class CacheNotFoundError(PromptCacheError):
"""Exception raised when cache entry is not found."""
pass