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

Function IsNoSuchKey

common/values/error_value.cc:96–100  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

94}
95
96bool IsNoSuchKey(const ErrorValue& value) {
97 return absl::IsNotFound(value.NativeValue()) &&
98 absl::StartsWith(value.NativeValue().message(),
99 "Key not found in map");
100}
101
102std::string ErrorValue::DebugString() const {
103 return ErrorDebugString(NativeValue());

Callers 1

PerformLookupFunction · 0.85

Calls 2

messageMethod · 0.80
NativeValueMethod · 0.45

Tested by

no test coverage detected