MCPcopy Create free account
hub / github.com/cel-expr/cel-cpp / ReportErrorAt

Method ReportErrorAt

validator/validator.cc:69–73  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

67}
68
69void ValidationContext::ReportErrorAt(int64_t id, absl::string_view message) {
70 issues_.push_back(TypeCheckIssue(TypeCheckIssue::Severity::kError,
71 ast_.ComputeSourceLocation(id),
72 std::string(message)));
73}
74
75void ValidationContext::ReportWarning(absl::string_view message) {
76 issues_.push_back(TypeCheckIssue(TypeCheckIssue::Severity::kWarning,

Callers 15

CheckPatternFunction · 0.45
ValidateTimestampsFunction · 0.45
ValidateDurationsFunction · 0.45
TESTFunction · 0.45
TypeMismatchFunction · 0.45
bindings_macrosFunction · 0.45
ExpandAllMacro2Function · 0.45
ExpandExistsMacro2Function · 0.45
ExpandExistsOneMacro2Function · 0.45

Calls 2

TypeCheckIssueClass · 0.85
ComputeSourceLocationMethod · 0.80

Tested by 1

TESTFunction · 0.36