Mercurial > public > mercurial-scm > hg-stable
comparison mercurial/error.py @ 27516:1c1216182dc1
error: make ParseError inherit from HintException
author | timeless <timeless@mozdev.org> |
---|---|
date | Wed, 23 Dec 2015 17:39:32 +0000 |
parents | f8142cb77b1e |
children | 707d66afce21 |
comparison
equal
deleted
inserted
replaced
27515:f8142cb77b1e | 27516:1c1216182dc1 |
---|---|
79 Abort.__init__(self, _('response expected')) | 79 Abort.__init__(self, _('response expected')) |
80 | 80 |
81 class OutOfBandError(HintException): | 81 class OutOfBandError(HintException): |
82 """Exception raised when a remote repo reports failure""" | 82 """Exception raised when a remote repo reports failure""" |
83 | 83 |
84 class ParseError(Exception): | 84 class ParseError(HintException): |
85 """Raised when parsing config files and {rev,file}sets (msg[, pos])""" | 85 """Raised when parsing config files and {rev,file}sets (msg[, pos])""" |
86 | 86 |
87 class UnknownIdentifier(ParseError): | 87 class UnknownIdentifier(ParseError): |
88 """Exception raised when a {rev,file}set references an unknown identifier""" | 88 """Exception raised when a {rev,file}set references an unknown identifier""" |
89 | 89 |