MCPcopy Create free account
hub / github.com/Shopify/goose / IsNotFound

Function IsNotFound

resolver/resolver.go:34–37  ·  view source on GitHub ↗
(err error)

Source from the content-addressed store, hash-verified

32}
33
34func IsNotFound(err error) bool {
35 var dnsError *net.DNSError
36 return errors.As(err, &dnsError) && dnsError.IsNotFound
37}

Callers 1

TestIsNotFoundFunction · 0.85

Calls

no outgoing calls

Tested by 1

TestIsNotFoundFunction · 0.68