comparison hglib/error.py @ 0:79f88b4db15f

Initial commit
author Idan Kamara <idankk86@gmail.com>
date Wed, 20 Jul 2011 16:09:34 -0500
parents
children 00bb0701323a
comparison
equal deleted inserted replaced
-1:000000000000 0:79f88b4db15f
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