mirror of
https://git.mirrors.martin98.com/https://github.com/infiniflow/ragflow.git
synced 2025-04-19 20:50:00 +08:00

* add front end code * change licence * rename web_server to API * change name to web_server
14 lines
389 B
Python
14 lines
389 B
Python
from web_server.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'
|
|
|