Files
dify/api/services/errors/base.py
T

7 lines
233 B
Python
Raw Normal View History

class BaseServiceError(ValueError):
def __init__(self, description: str = ""):
self.description = description
class NoPermissionError(Exception):
"""The actor is not permitted to perform the requested operation."""