Mercurial > python-hglib
view hglib/error.py @ 87:5661d5f7e39b
client: make varargs ordering py2.4-compatible
author | Matt Mackall <mpm@selenic.com> |
---|---|
date | Thu, 17 Nov 2011 12:54:37 -0600 |
parents | 00bb0701323a |
children | 59cb26bf866e |
line wrap: on
line source
class CommandError(Exception): def __init__(self, args, ret, out, err): self.args = args self.ret = ret self.out = out self.err = err def __str__(self): return self.err class ServerError(Exception): pass class ResponseError(ServerError, ValueError): pass class CapabilityError(ServerError): pass