| 21 | namespace cel::runtime_internal { |
| 22 | |
| 23 | const 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 | |
| 29 | absl::Status CreateNoSuchKeyError(absl::string_view key) { |
| 30 | return absl::NotFoundError(absl::StrCat(kErrNoSuchKey, " : ", key)); |
no outgoing calls
no test coverage detected