Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/coder/slog
/ errorsIsAny
Function
errorsIsAny
internal/syncwriter/syncwriter.go:76–83 ·
view source on GitHub ↗
(err error, errs ...error)
Source
from the content-addressed store, hash-verified
74
}
75
76
func
errorsIsAny(err error, errs ...error) bool {
77
for
_, e :=
range
errs {
78
if
errors.Is(err, e) {
79
return
true
80
}
81
}
82
return
false
83
}
Callers
2
Test_errorsIsAny
Function · 0.85
Sync
Method · 0.85
Calls
no outgoing calls
Tested by
1
Test_errorsIsAny
Function · 0.68