mirror of
https://github.com/langgenius/dify.git
synced 2026-11-24 20:59:04 +08:00
12 lines
380 B
Python
12 lines
380 B
Python
class BaseServiceError(ValueError):
|
|
def __init__(self, description: str = ""):
|
|
self.description = description
|
|
|
|
|
|
class NoPermissionError(Exception):
|
|
"""The actor is not permitted to perform the requested operation."""
|
|
|
|
|
|
class PersistenceCommitOutcomeUnknownError(RuntimeError):
|
|
"""A persistence commit may have completed before its acknowledgement was lost."""
|