MCPcopy Create free account
hub / github.com/cloudnative-pg/cloudnative-pg / newPluginError

Function newPluginError

internal/cnpi/plugin/client/errors.go:50–52  ·  view source on GitHub ↗
(msg string)

Source from the content-addressed store, hash-verified

48}
49
50func newPluginError(msg string) error {
51 return &pluginError{innerErr: errors.New(msg)}
52}
53
54// ContainsPluginError checks if the provided error chain contains a plugin error.
55func ContainsPluginError(err error) bool {

Callers 4

errors_test.goFile · 0.85
postgres_test.goFile · 0.85
errors.goFile · 0.85
cluster.goFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected