Go to the latest version of this document.

# ``twisted`.`names`.`error``

module documentation
(source)

Exception class definitions for Twisted Names.

Exception | `AuthoritativeDomainError` | Indicates a lookup failed for a name for which this server is authoritative because there were no records matching the given `name, class, type` triple.
Exception | `DNSFormatError` | Indicates a query failed with a result of `twisted.names.dns.EFORMAT`.
Exception | `DNSNameError` | Indicates a query failed with a result of `twisted.names.dns.ENAME`.
Exception | `DNSNotImplementedError` | Indicates a query failed with a result of `twisted.names.dns.ENOTIMP`.
Exception | `DNSQueryRefusedError` | Indicates a query failed with a result of `twisted.names.dns.EREFUSED`.
Exception | `DNSQueryTimeoutError` | Indicates a lookup failed due to a timeout.
Exception | `DNSServerError` | Indicates a query failed with a result of `twisted.names.dns.ESERVER`.
Exception | `DNSUnknownError` | Indicates a query failed with an unknown result.
Exception | `DomainError` | Indicates a lookup failed because there were no records matching the given `name, class, type` triple.
Exception | `ResolverError` | Indicates a query failed because of a decision made by the local resolver object.