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

Function DurationOverflowError

runtime/internal/errors.cc:23–27  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

21namespace cel::runtime_internal {
22
23const absl::Status* DurationOverflowError() {
24 static const auto* const kDurationOverflow = new absl::Status(
25 absl::StatusCode::kInvalidArgument, "Duration is out of range");
26 return kDurationOverflow;
27}
28
29absl::Status CreateNoSuchKeyError(absl::string_view key) {
30 return absl::NotFoundError(absl::StrCat(kErrNoSuchKey, " : ", key));

Callers 2

CreateDurationMethod · 0.85
operator()Method · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected