MCPcopy Index your code
hub / github.com/opencontainers/image-spec / Error

Method Error

schema/error.go:34–34  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

32}
33
34func (e *SyntaxError) Error() string { return e.msg }
35
36// WrapSyntaxError checks whether the given error is a *json.SyntaxError
37// and converts it into a *schema.SyntaxError containing line/col information using the given reader.

Callers 3

WrapSyntaxErrorFunction · 0.95
TestSchemaFSFunction · 0.45
validateFunction · 0.45

Calls

no outgoing calls

Tested by 2

TestSchemaFSFunction · 0.36
validateFunction · 0.36