summaryrefslogtreecommitdiffstats
path: root/iredis/exceptions.py
blob: 6aa45a1e2812c18978107e034a26137451a0eb60 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
class IRedisException(Exception):
    pass


class UsageError(IRedisException):
    pass


class InvalidArguments(IRedisException):
    """Invalid argument(s)"""


class NotRedisCommand(IRedisException):
    """Not a Redis command"""


class AmbiguousCommand(IRedisException):
    """Command is not finished, don't it's command's name"""


class NotSupport(IRedisException):
    """IRedis currently not support this."""