mirror of
https://github.com/langgenius/dify.git
synced 2026-11-11 13:51:25 +08:00
26 lines
592 B
Python
26 lines
592 B
Python
from services.errors.base import BaseServiceError
|
|
|
|
|
|
class MessageActorNotFoundError(LookupError):
|
|
"""The account is missing, or the end user is outside the admitted app and tenant scope."""
|
|
|
|
|
|
class FeedbackRatingRequiredError(BaseServiceError):
|
|
"""Feedback cannot be revoked because no feedback exists for this source."""
|
|
|
|
|
|
class FirstMessageNotExistsError(BaseServiceError):
|
|
pass
|
|
|
|
|
|
class LastMessageNotExistsError(BaseServiceError):
|
|
pass
|
|
|
|
|
|
class MessageNotExistsError(BaseServiceError):
|
|
pass
|
|
|
|
|
|
class SuggestedQuestionsAfterAnswerDisabledError(BaseServiceError):
|
|
pass
|