mirror of
https://git.mirrors.martin98.com/https://github.com/infiniflow/ragflow.git
synced 2025-04-22 14:10:01 +08:00
14 lines
382 B
Python
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'
|
|
|