MCPcopy
hub / github.com/deepops-ai/deepops / IsErrNoColumn

Function IsErrNoColumn

backend/pkg/e/err_check.go:25–27  ·  view source on GitHub ↗
(err error)

Source from the content-addressed store, hash-verified

23}
24
25func IsErrNoColumn(err error) bool {
26 return strings.HasPrefix(err.Error(), "no such column") || strings.Contains(err.Error(), "Unknown column")
27}

Callers

nothing calls this directly

Calls 1

ErrorMethod · 0.65

Tested by

no test coverage detected