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

Method ReportErrorAtID

policy/compiler.go:225–227  ·  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

223
224// ReportErrorAtID exposes the issue reporter for the match compiler.
225func (mc *matchCompilerImpl) ReportErrorAtID(id int64, message string, args ...any) {
226 mc.iss.ReportErrorAtID(id, message, args...)
227}
228
229// CompileMatchOutputFunc is a function that compiles the output of a match.
230type 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