選択できるのは25トピックまでです。 トピックは、先頭が英数字で、英数字とダッシュ('-')を使用した35文字以内のものにしてください。

error_services.py 382B

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