| 249 | /// Return an error status when some IO-related operation failed |
| 250 | template <typename... Args> |
| 251 | static Status IOError(Args&&... args) { |
| 252 | return Status::FromArgs(StatusCode::IOError, std::forward<Args>(args)...); |
| 253 | } |
| 254 | |
| 255 | /// Return an error status when some (de)serialization operation failed |
| 256 | template <typename... Args> |