MCPcopy Index your code
hub / github.com/docker/cli / newPluginError

Function newPluginError

cli-plugins/manager/error.go:44–46  ·  view source on GitHub ↗

newPluginError creates a new pluginError, analogous to errors.Errorf.

(msg string, args ...any)

Source from the content-addressed store, hash-verified

42// newPluginError creates a new pluginError, analogous to
43// errors.Errorf.
44func newPluginError(msg string, args ...any) error {
45 return &pluginError{cause: fmt.Errorf(msg, args...)}
46}

Callers 3

TestPluginMarshalFunction · 0.85
newPluginFunction · 0.85
TestPluginErrorFunction · 0.85

Calls

no outgoing calls

Tested by 2

TestPluginMarshalFunction · 0.68
TestPluginErrorFunction · 0.68

Used in the wild real call sites across dependent graphs

searching dependent graphs…