MCPcopy
hub / github.com/AdguardTeam/dnsproxy / Error

Method Error

proxy/upstreams.go:134–136  ·  view source on GitHub ↗

Error implements the [error] interface for *ParseError.

()

Source from the content-addressed store, hash-verified

132
133// Error implements the [error] interface for *ParseError.
134func (e *ParseError) Error() (msg string) {
135 return fmt.Sprintf("parsing error at index %d: %s", e.Idx, e.err)
136}
137
138// type check
139var _ errors.Wrapper = (*ParseError)(nil)

Callers 15

isEPIPEFunction · 0.45
logWithNonCritFunction · 0.45
exchangeMethod · 0.45
StartMethod · 0.45
initDNSCryptServersMethod · 0.45
respondQUICMethod · 0.45
TestIsEPIPEFunction · 0.45
ServeHTTPMethod · 0.45
checkBasicAuthMethod · 0.45
respondHTTPSMethod · 0.45
TestCollectQueryStatsFunction · 0.45

Calls

no outgoing calls

Tested by 6

TestIsEPIPEFunction · 0.36
TestCollectQueryStatsFunction · 0.36
TestLookupParallelFunction · 0.36