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

Function newBuilderError

cmd/docker/builder.go:39–47  ·  view source on GitHub ↗
(errorMsg string, pluginLoadErr error)

Source from the content-addressed store, hash-verified

37)
38
39func newBuilderError(errorMsg string, pluginLoadErr error) error {
40 if errdefs.IsNotFound(pluginLoadErr) {
41 return errors.New(errorMsg)
42 }
43 if pluginLoadErr != nil {
44 return fmt.Errorf("%w\n\n%s", pluginLoadErr, errorMsg)
45 }
46 return errors.New(errorMsg)
47}
48
49//nolint:gocyclo
50func processBuilder(dockerCli command.Cli, cmd *cobra.Command, args, osargs []string) ([]string, []string, []string, error) {

Callers 1

processBuilderFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…