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

Method AsError

common/value.h:833–835  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

831 optional_ref<const ErrorValue> AsError() const& ABSL_ATTRIBUTE_LIFETIME_BOUND;
832 absl::optional<ErrorValue> AsError() &&;
833 absl::optional<ErrorValue> AsError() const&& {
834 return common_internal::AsOptional(AsError());
835 }
836
837 // Performs a checked cast from a value to an int value,
838 // returning a non-empty optional with either a value or reference to the

Callers 2

ValueClass · 0.45
AsMethod · 0.45

Calls 1

AsOptionalFunction · 0.85

Tested by

no test coverage detected