| 225 | /// Return an error status for invalid data (for example a string that fails parsing) |
| 226 | template <typename... Args> |
| 227 | static Status Invalid(Args&&... args) { |
| 228 | return Status::FromArgs(StatusCode::Invalid, std::forward<Args>(args)...); |
| 229 | } |
| 230 | |
| 231 | /// Return an error status for cancelled operation |
| 232 | template <typename... Args> |