| 206 | /// Return an error status for type errors (such as mismatching data types) |
| 207 | template <typename... Args> |
| 208 | static Status TypeError(Args&&... args) { |
| 209 | return Status::FromArgs(StatusCode::TypeError, std::forward<Args>(args)...); |
| 210 | } |
| 211 | |
| 212 | /// Return an error status for unknown errors |
| 213 | template <typename... Args> |