annotate hglib/error.py @ 4:a3a9cf58801f
client: use the cmdbuilder
author |
Idan Kamara <idankk86@gmail.com> |
date |
Tue, 09 Aug 2011 00:39:26 +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
|