Buckets:
AnonymousSpottedToad/candidate_bucket / codebase /python /spraakbanken_karp-backend /src /karp /foundation /errors.py
| class NotFoundError(Exception): | |
| """Generic not found error.""" | |
| entity_name: str = "Generic entity" | |
| def __init__( | |
| self, | |
| entity_id, | |
| *args, | |
| msg: str | None = None, | |
| ) -> None: | |
| msg = msg or f"{self.entity_name} not found. Id: {entity_id}" | |
| super().__init__(msg, *args) | |
| class DiscardedEntityError(Exception): | |
| """Raised when an attempt is made to use a discarded Entity.""" | |
| class ConsistencyError(Exception): | |
| """Raised when an internal consistency problem is detected.""" | |
Xet Storage Details
- Size:
- 542 Bytes
- Xet hash:
- cd536f0472a6f9ff8d096208a0f5e57370d131a304ca3555497e8685e1ae5c48
·
Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.