"""A collection of exceptions."""
from __future__ import annotations
[docs]
class DyndnsError(Exception):
"""Base exception of the package ``dyndns``."""
[docs]
class NamesError(DyndnsError):
"""This error gets thrown by invalid DNS names."""
[docs]
class IpAddressesError(DyndnsError):
"""This error gets thrown by invalid IP addresses."""
[docs]
class ConfigurationError(DyndnsError):
"""dyndns configuration error."""
[docs]
class ParameterError(DyndnsError):
"""Client side parameter error."""
[docs]
class DNSServerError(DyndnsError):
"""Communicating with the external DNS server."""