2014-07-01 06:40:56 +04:00
|
|
|
"Core exceptions raised by the LedisDB client"
|
2014-06-30 06:56:32 +04:00
|
|
|
|
|
|
|
|
2014-07-01 06:40:56 +04:00
|
|
|
class LedisError(Exception):
|
2014-06-30 06:56:32 +04:00
|
|
|
pass
|
|
|
|
|
2014-07-01 06:40:56 +04:00
|
|
|
class ServerError(LedisError):
|
2014-06-30 06:56:32 +04:00
|
|
|
pass
|
|
|
|
|
|
|
|
|
|
|
|
class ConnectionError(ServerError):
|
|
|
|
pass
|
|
|
|
|
|
|
|
|
|
|
|
class BusyLoadingError(ConnectionError):
|
|
|
|
pass
|
|
|
|
|
|
|
|
|
|
|
|
class InvalidResponse(ServerError):
|
|
|
|
pass
|
|
|
|
|
|
|
|
|
2014-07-01 06:40:56 +04:00
|
|
|
class ResponseError(LedisError):
|
2014-06-30 06:56:32 +04:00
|
|
|
pass
|
|
|
|
|
|
|
|
|
2014-07-01 06:40:56 +04:00
|
|
|
class DataError(LedisError):
|
2014-06-30 06:56:32 +04:00
|
|
|
pass
|
|
|
|
|
|
|
|
|
|
|
|
class ExecAbortError(ResponseError):
|
|
|
|
pass
|