You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

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'