mirror of
https://github.com/infiniflow/ragflow.git
synced 2025-12-08 20:42:30 +08:00
rename web_server to api (#29)
* add front end code * change licence * rename web_server to API * change name to web_server
This commit is contained in:
13
api/errors/error_services.py
Normal file
13
api/errors/error_services.py
Normal file
@ -0,0 +1,13 @@
|
||||
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'
|
||||
|
||||
Reference in New Issue
Block a user