ragflow/api/errors/error_services.py
2024-01-17 20:20:42 +08:00

14 lines
382 B
Python

from api.errors import RagFlowError
__all__ = ['ServicesError', 'ServiceNotSupported', 'ZooKeeperNotConfigured',
'MissingZooKeeperUsernameOrPassword', 'ZooKeeperBackendError']
class ServicesError(RagFlowError):
message = 'Unknown services error'
class ServiceNotSupported(ServicesError):
message = 'The service {service_name} is not supported'