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)
| 1033 | // The source metadata for the expression at `id`, if present, is attached to the error report. |
| 1034 | // To ensure that source metadata is attached to error reports, use NewIssuesWithSourceInfo. |
| 1035 | func (i *Issues) ReportErrorAtID(id int64, message string, args ...any) { |
| 1036 | i.errs.ReportErrorAtID(id, i.info.GetStartLocation(id), message, args...) |
| 1037 | } |
| 1038 | |
| 1039 | // getStdEnv lazy initializes the CEL standard environment. |
| 1040 | func getStdEnv() (*Env, error) { |
nothing calls this directly
no test coverage detected