Source code for infrahouse_core.aws.route53.exceptions
"""Top level exceptions.
The exception hierarchy repeats the structure of the infrahouse_core package.
Each module in the package has its own exceptions.py module.
The module exceptions are inherited from the upper module exceptions.
"""
from infrahouse_core.aws import IHAWSException
[docs]
class IHRoute53Exception(IHAWSException):
"""Route53 related InfraHouse exception"""
[docs]
class IHZoneNotFound(IHRoute53Exception):
"""Requested Route53 zone doesn't exist"""
[docs]
class IHRecordNotFound(IHRoute53Exception):
"""Requested Route53 record doesn't exist"""