ReportErrorAtID reports an error message with an optional set of formatting arguments. The source metadata for the expression at `id`, if present, is attached to the error report. To ensure that source metadata is attached to error reports, use NewIssuesWithSourceInfo.
(id int64, message string, args ...any)
| 1245 | // The source metadata for the expression at `id`, if present, is attached to the error report. |
| 1246 | // To ensure that source metadata is attached to error reports, use NewIssuesWithSourceInfo. |
| 1247 | func (i *Issues) ReportErrorAtID(id int64, message string, args ...any) { |
| 1248 | i.errs.ReportErrorAtID(id, i.info.GetStartLocation(id), message, args...) |
| 1249 | } |
| 1250 | |
| 1251 | // getStdEnv lazy initializes the CEL standard environment. |
| 1252 | func getStdEnv() (*Env, error) { |
nothing calls this directly
no test coverage detected