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