Revision 300e5450
b/lib/errors.py | ||
---|---|---|
303 | 303 |
|
304 | 304 |
This is not necessarily an error (and thus not a subclass of |
305 | 305 |
GenericError), but it's an exceptional circumstance and it is thus |
306 |
treated. This instance should be instantiated with two values. The
|
|
306 |
treated. This exception should be instantiated with two values. The
|
|
307 | 307 |
first one will specify the return code to the caller, and the second |
308 | 308 |
one will be the returned result (either as an error or as a normal |
309 | 309 |
result). Usually only the leave cluster rpc call should return |
... | ... | |
386 | 386 |
class QueryFilterParseError(ParseError): |
387 | 387 |
"""Error while parsing query filter. |
388 | 388 |
|
389 |
This exception must be instantiated with two values. The first one is a |
|
390 |
string with an error description, the second one is an instance of a subclass |
|
391 |
of C{pyparsing.ParseBaseException} (used to display the exact error |
|
392 |
location). |
|
393 |
|
|
389 | 394 |
""" |
390 | 395 |
def GetDetails(self): |
391 | 396 |
"""Returns a list of strings with details about the error. |
Also available in: Unified diff