File: exceptions.py

package info (click to toggle)
iredis 1.9.1-3
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 2,388 kB
  • sloc: python: 6,494; sh: 16; makefile: 13
file content (22 lines) | stat: -rw-r--r-- 420 bytes parent folder | download
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."""