Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
34
func
IsNotFound(err error) bool {
35
var
dnsError *net.DNSError
36
return
errors.As(err, &dnsError) && dnsError.IsNotFound
37
}
Callers
1
TestIsNotFound
Function · 0.85
Calls
no outgoing calls
Tested by
1
TestIsNotFound
Function · 0.68