MCPcopy Create free account
hub / github.com/cel-expr/cel-go / ReportErrorAtID

Method ReportErrorAtID

policy/parser.go:907–909  ·  view source on GitHub ↗

ReportErrorAtID logs an error during parsing which is included in the issue set returned from a failed parse.

(id int64, format string, args ...any)

Source from the content-addressed store, hash-verified

905// ReportErrorAtID logs an error during parsing which is included in the issue set returned from
906// a failed parse.
907func (p *parserImpl) ReportErrorAtID(id int64, format string, args ...any) {
908 p.iss.ReportErrorAtID(id, format, args...)
909}
910
911func (p *parserImpl) checkMapValid(ctx ParserContext, id int64, node *yaml.Node) bool {
912 valid := len(node.Content)%2 == 0

Callers 3

parseVariableInlineMethod · 0.95
ParseMatchMethod · 0.95
assertYAMLTypeMethod · 0.95

Calls 1

ReportErrorAtIDMethod · 0.65

Tested by

no test coverage detected