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

Function ErrorValue

common/values/error_value.h:55–58  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

53 static constexpr ValueKind kKind = ValueKind::kError;
54
55 explicit ErrorValue(absl::Status value) : arena_(nullptr) {
56 ::new (static_cast<void*>(&status_.val[0])) absl::Status(std::move(value));
57 ABSL_DCHECK(*this) << "ErrorValue requires a non-OK absl::Status";
58 }
59
60 // By default, this creates an UNKNOWN error. You should always create a more
61 // specific error value.

Callers 15

TESTFunction · 0.85
LookupIdentFunction · 0.85
MockExpectCallDirectStepFunction · 0.85
TEST_FFunction · 0.85
EvaluateEqualityFunction · 0.85
EvaluateInMapFunction · 0.85
EvaluateInFunction · 0.85
MakeNoOverloadErrorFunction · 0.85
CheckForMarkedAttributesFunction · 0.85
TestOnlySelectFunction · 0.85

Calls 2

CopyConstructFunction · 0.85
MoveConstructFunction · 0.85

Tested by 13

TESTFunction · 0.68
MockExpectCallDirectStepFunction · 0.68
TEST_FFunction · 0.68
TestOnlySelectFunction · 0.68
TEST_FFunction · 0.68
MakeValueFunction · 0.68
TESTFunction · 0.68
TESTFunction · 0.68
TEST_FFunction · 0.68
InvokeMethod · 0.68
TEST_FFunction · 0.68