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

Method ReportErrorString

common/errors.go:50–52  ·  view source on GitHub ↗

ReportErrorString records an error at a source location.

(l Location, message string)

Source from the content-addressed store, hash-verified

48
49// ReportErrorString records an error at a source location.
50func (e *Errors) ReportErrorString(l Location, message string) {
51 e.ReportErrorAtID(0, l, "%s", message)
52}
53
54// ReportErrorAtID records an error at a source location and expression id.
55func (e *Errors) ReportErrorAtID(id int64, l Location, format string, args ...any) {

Callers 3

ComposeMethod · 0.95
CheckMethod · 0.95
ErrorAsIssuesFunction · 0.95

Calls 1

ReportErrorAtIDMethod · 0.95

Tested by

no test coverage detected