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

Method ToStatus

common/values/error_value.cc:160–168  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

158}
159
160absl::Status ErrorValue::ToStatus() const& {
161 ABSL_DCHECK(*this);
162
163 if (arena_ == nullptr) {
164 return *std::launder(
165 reinterpret_cast<const absl::Status*>(&status_.val[0]));
166 }
167 return *status_.ptr;
168}
169
170absl::Status ErrorValue::ToStatus() && {
171 ABSL_DCHECK(*this);

Callers 15

CreateExpressionImplMethod · 0.45
ExtractIssuesStatusFunction · 0.45
CheckListElementFunction · 0.45
GetMethod · 0.45
GetMethod · 0.45
CheckMapValueFunction · 0.45
ValueToJsonStringFunction · 0.45
PutMethod · 0.45
PutMethod · 0.45
NativeValueFunction · 0.45
GetFieldByNameMethod · 0.45
GetFieldByNumberMethod · 0.45

Calls

no outgoing calls

Tested by 8

ExtractIssuesStatusFunction · 0.36
GetFieldByNameMethod · 0.36
GetFieldByNumberMethod · 0.36
HasFieldByNameMethod · 0.36
HasFieldByNumberMethod · 0.36
TESTFunction · 0.36
TESTFunction · 0.36
TEST_PFunction · 0.36