Files

17 lines
415 B
Python
Raw Permalink Normal View History

2023-05-15 08:51:32 +08:00
from services.errors.base import BaseServiceError
class DocumentNotFoundError(Exception):
"""The requested document is unavailable."""
class DocumentSourceNotFoundError(Exception):
"""A document has no available source file for download."""
class DocumentAccessDeniedError(Exception):
"""The actor cannot access the document's dataset."""
2023-05-15 08:51:32 +08:00
class DocumentIndexingError(BaseServiceError):
pass