annotate hglib/error.py @ 17:b68c444d42bb
client: add missing options to log()
leaving --patch/stat out for now
author |
Idan Kamara <idankk86@gmail.com> |
date |
Wed, 10 Aug 2011 23:27:57 +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
|