ragflow / web_server /errors /error_services.py
KevinHuSh
build python version rag-flow (#21)
3079197
raw
history blame
391 Bytes
from web_server.errors import FateFlowError
__all__ = ['ServicesError', 'ServiceNotSupported', 'ZooKeeperNotConfigured',
'MissingZooKeeperUsernameOrPassword', 'ZooKeeperBackendError']
class ServicesError(FateFlowError):
message = 'Unknown services error'
class ServiceNotSupported(ServicesError):
message = 'The service {service_name} is not supported'