Mercurial > python-hglib
annotate hglib/error.py @ 21:ffef7df076e8
client: rewrite config()
author | Idan Kamara <idankk86@gmail.com> |
---|---|
date | Thu, 11 Aug 2011 16:02:01 +0300 |
parents | 79f88b4db15f |
children | 00bb0701323a |
rev | line source |
---|---|
0 | 1 class CommandError(Exception): |
2 def __init__(self, args, ret, out, err): | |
3 self.args = args | |
4 self.ret = ret | |
5 self.out = out | |
6 self.err = err | |
7 | |
8 class ServerError(Exception): | |
9 pass | |
10 | |
11 class ResponseError(ServerError, ValueError): | |
12 pass | |
13 | |
14 class CapabilityError(ServerError): | |
15 pass |