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

Function CheckNoSuchKeyError

eval/public/cel_value.cc:356–360  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

354}
355
356bool CheckNoSuchKeyError(CelValue value) {
357 return value.IsError() &&
358 absl::StartsWith(value.ErrorOrDie()->message(),
359 cel::runtime_internal::kErrNoSuchKey);
360}
361
362CelValue CreateMissingAttributeError(google::protobuf::Arena* arena,
363 absl::string_view missing_attribute_path) {

Callers 2

TESTFunction · 0.85
TEST_FFunction · 0.85

Calls 3

messageMethod · 0.80
ErrorOrDieMethod · 0.80
IsErrorMethod · 0.45

Tested by 2

TESTFunction · 0.68
TEST_FFunction · 0.68