Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/rilldata/rill
/ errMsgContains
Function
errMsgContains
cli/cmd/project/deploy.go:658–663 ·
view source on GitHub ↗
(err error, msg string)
Source
from the content-addressed store, hash-verified
656
}
657
658
func
errMsgContains(err error, msg string) bool {
659
if
st, ok := status.FromError(err); ok && st != nil {
660
return
strings.Contains(st.Message(), msg)
661
}
662
return
false
663
}
Callers
1
createProjectFlow
Function · 0.85
Calls
2
Contains
Method · 0.80
Message
Method · 0.80
Tested by
no test coverage detected