41 def __init__(self, *args, **kw): |
41 def __init__(self, *args, **kw): |
42 Exception.__init__(self, *args) |
42 Exception.__init__(self, *args) |
43 self.hint = kw.get('hint') |
43 self.hint = kw.get('hint') |
44 |
44 |
45 class ConfigError(Abort): |
45 class ConfigError(Abort): |
46 'Exception raised when parsing config files' |
46 """Exception raised when parsing config files""" |
47 |
47 |
48 class OutOfBandError(Exception): |
48 class OutOfBandError(Exception): |
49 'Exception raised when a remote repo reports failure' |
49 """Exception raised when a remote repo reports failure""" |
50 |
50 |
51 class ParseError(Exception): |
51 class ParseError(Exception): |
52 'Exception raised when parsing config files (msg[, pos])' |
52 """Exception raised when parsing config files (msg[, pos])""" |
53 |
53 |
54 class RepoError(Exception): |
54 class RepoError(Exception): |
55 def __init__(self, *args, **kw): |
55 def __init__(self, *args, **kw): |
56 Exception.__init__(self, *args) |
56 Exception.__init__(self, *args) |
57 self.hint = kw.get('hint') |
57 self.hint = kw.get('hint') |