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

Method ReportErrorAtID

policy/compiler.go:239–241  ·  view source on GitHub ↗

ReportErrorAtID exposes the issue reporter for the match compiler.

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

Source from the content-addressed store, hash-verified

237
238// ReportErrorAtID exposes the issue reporter for the match compiler.
239func (mc *matchCompilerImpl) ReportErrorAtID(id int64, message string, args ...any) {
240 mc.iss.ReportErrorAtID(id, message, args...)
241}
242
243// CompileMatchOutputFunc is a function that compiles the output of a match.
244type CompileMatchOutputFunc func(mc MatchCompiler, m *Match, p *Policy) (*cel.Ast, *cel.Issues)

Callers

nothing calls this directly

Calls 1

ReportErrorAtIDMethod · 0.65

Tested by

no test coverage detected