Show More
@@ -67,6 +67,15 b' class OutOfBandError(Exception):' | |||
|
67 | 67 | class ParseError(Exception): |
|
68 | 68 | """Raised when parsing config files and {rev,file}sets (msg[, pos])""" |
|
69 | 69 | |
|
70 | class UnknownIdentifier(ParseError): | |
|
71 | """Exception raised when a {rev,file}set references an unknown identifier""" | |
|
72 | ||
|
73 | def __init__(self, function, symbols): | |
|
74 | from i18n import _ | |
|
75 | ParseError.__init__(self, _("unknown identifier: %s") % function) | |
|
76 | self.function = function | |
|
77 | self.symbols = symbols | |
|
78 | ||
|
70 | 79 | class RepoError(Exception): |
|
71 | 80 | def __init__(self, *args, **kw): |
|
72 | 81 | Exception.__init__(self, *args) |
General Comments 0
You need to be logged in to leave comments.
Login now