##// END OF EJS Templates
error: refactor OutOfBandError to inherit from HintException
timeless -
r27515:f8142cb7 default
parent child Browse files
Show More
@@ -78,13 +78,9 b' class ResponseExpected(Abort):'
78 78 from .i18n import _
79 79 Abort.__init__(self, _('response expected'))
80 80
81 class OutOfBandError(Exception):
81 class OutOfBandError(HintException):
82 82 """Exception raised when a remote repo reports failure"""
83 83
84 def __init__(self, *args, **kw):
85 Exception.__init__(self, *args)
86 self.hint = kw.get('hint')
87
88 84 class ParseError(Exception):
89 85 """Raised when parsing config files and {rev,file}sets (msg[, pos])"""
90 86
General Comments 0
You need to be logged in to leave comments. Login now