MCPcopy Create free account
hub / github.com/foxcpp/maddy / RCodeError

Struct RCodeError

framework/dns/dnssec.go:44–47  ·  view source on GitHub ↗

RCodeError is returned by ExtResolver when the RCODE in response is not NOERROR.

Source from the content-addressed store, hash-verified

42// RCodeError is returned by ExtResolver when the RCODE in response is not
43// NOERROR.
44type RCodeError struct {
45 Name string
46 Code int
47}
48
49func (err RCodeError) Temporary() bool {
50 return err.Code == dns.RcodeServerFailure

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected