MCPcopy Create free account
hub / github.com/rthalley/dnspython / __init__

Method __init__

dns/xfr.py:42–45  ·  view source on GitHub ↗
(self, rcode)

Source from the content-addressed store, hash-verified

40 """A zone transfer response got a non-zero rcode."""
41
42 def __init__(self, rcode):
43 message = f"Zone transfer error: {dns.rcode.to_text(rcode)}"
44 super().__init__(message)
45 self.rcode = rcode
46
47
48class SerialWentBackwards(dns.exception.FormError):

Callers

nothing calls this directly

Calls 2

to_textMethod · 0.45
__init__Method · 0.45

Tested by

no test coverage detected