mirror of
https://github.com/langgenius/dify.git
synced 2026-11-24 20:59:04 +08:00
18 lines
415 B
Python
18 lines
415 B
Python
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."""
|
|
|
|
|
|
class DocumentIndexingError(BaseServiceError):
|
|
pass
|