| 244 | // message and returns a status in the canonical error space. |
| 245 | template <typename... Args> |
| 246 | Status InvalidArgument(const absl::FormatSpec<Args...>& format, |
| 247 | const Args&... args) { |
| 248 | return WithLogBacktrace( |
| 249 | tensorflow::errors::InvalidArgument(absl::StrFormat(format, args...))); |
| 250 | } |
| 251 | template <typename... Args> |
| 252 | Status Unimplemented(const absl::FormatSpec<Args...>& format, |
| 253 | const Args&... args) { |