| 118 | cel::runtime_internal::kPayloadUrlMissingAttributePath; |
| 119 | |
| 120 | CelValue CelValue::CreateDuration(absl::Duration value) { |
| 121 | if (value >= cel::runtime_internal::kDurationHigh || |
| 122 | value <= cel::runtime_internal::kDurationLow) { |
| 123 | return CelValue(cel::runtime_internal::DurationOverflowError()); |
| 124 | } |
| 125 | return CreateUncheckedDuration(value); |
| 126 | } |
| 127 | |
| 128 | // TODO(issues/136): These don't match the CEL runtime typenames. They should |
| 129 | // be updated where possible for consistency. |
nothing calls this directly
no test coverage detected