MCPcopy 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
658func 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

createProjectFlowFunction · 0.85

Calls 2

ContainsMethod · 0.80
MessageMethod · 0.80

Tested by

no test coverage detected