File size: 382 Bytes
9bf75d4
3079197
 
 
 
 
6be3dd5
3079197
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
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'