| 273 | } |
| 274 | template <typename... Args> |
| 275 | Status ResourceExhausted(const absl::FormatSpec<Args...>& format, |
| 276 | const Args&... args) { |
| 277 | return WithLogBacktrace( |
| 278 | tensorflow::errors::ResourceExhausted(absl::StrFormat(format, args...))); |
| 279 | } |
| 280 | template <typename... Args> |
| 281 | Status NotFound(const absl::FormatSpec<Args...>& format, const Args&... args) { |
| 282 | return WithLogBacktrace( |