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

Function invalidParameter

cli/command/container/errors.go:5–10  ·  view source on GitHub ↗
(err error)

Source from the content-addressed store, hash-verified

3import "github.com/containerd/errdefs"
4
5func invalidParameter(err error) error {
6 if err == nil || errdefs.IsInvalidArgument(err) {
7 return err
8 }
9 return invalidParameterErr{err}
10}
11
12type invalidParameterErr struct{ error }
13

Callers 4

validateDetachKeysFunction · 0.70
parseNetworkOptsFunction · 0.70
applyContainerOptionsFunction · 0.70
createContainerFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…