Commit d4032a67 authored by Michal 'vorner' Vaner's avatar Michal 'vorner' Vaner
Browse files

[2439] (minor) Exception docstrings

Clarify one exception and document one old exception.
parent 2a742e19
......@@ -96,12 +96,15 @@ class XfrinProtocolError(Exception):
class XfrinZoneError(Exception):
'''
An exception raised when the received zone contain invalid data.
An exception raised when the received zone is broken enough to be unusable.
'''
pass
class XfrinZoneUptodate(Exception):
'''TBD
'''
Thrown when the zone is already up to date, so there's no need to download
the zone. This is not really an error case (but it's still an exceptional
condition and the control flow is different than usual).
'''
pass
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment