MCPcopy Create free account
hub / github.com/docker/cli / toError

Function toError

cli/compose/schema/schema.go:100–103  ·  view source on GitHub ↗
(result *gojsonschema.Result)

Source from the content-addressed store, hash-verified

98}
99
100func toError(result *gojsonschema.Result) error {
101 err := getMostSpecificError(result.Errors())
102 return err
103}
104
105const (
106 jsonschemaOneOf = "number_one_of"

Callers 1

ValidateFunction · 0.85

Calls 1

getMostSpecificErrorFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…