Buckets:
AnonymousSpottedToad/human_verified_bucket / codebase /python /allen0099_FastAPI-CacheX /fastapi_cachex /state /exceptions.py
| """Custom exception classes for state management.""" | |
| from fastapi_cachex.exceptions import CacheXError | |
| class StateError(CacheXError): | |
| """Base exception for state-related errors.""" | |
| class InvalidStateError(StateError): | |
| """Raised when a state is invalid or not found.""" | |
| class StateExpiredError(StateError): | |
| """Raised when a state has expired.""" | |
| class StateDataError(StateError): | |
| """Raised when state data parsing or format is invalid.""" | |
Xet Storage Details
- Size:
- 463 Bytes
- Xet hash:
- 4bc69064a2b48b712ce4874de7e4a0d6917d0a6c3fceaa6a3a5759d71e4f3449
·
Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.