Add exceptions for records and zone modifications

This commit is contained in:
Jeffrey Forman 2012-11-17 20:40:15 -05:00
parent ba4ea4176d
commit 823da81ed4
1 changed files with 17 additions and 0 deletions

View File

@ -6,3 +6,20 @@ class TransferException(Exception):
"""
pass
class ZoneException(Exception):
"""
Thrown when there is an issue dealing with a
DNS zone.
"""
pass
class RecordException(Exception):
"""
Thrown when there is an issue dealign with
a Record.
* Adding or deleting.
"""
pass