| 237 | /// Return an error status when an index is out of bounds |
| 238 | template <typename... Args> |
| 239 | static Status IndexError(Args&&... args) { |
| 240 | return Status::FromArgs(StatusCode::IndexError, std::forward<Args>(args)...); |
| 241 | } |
| 242 | |
| 243 | /// Return an error status when a container's capacity would exceed its limits |
| 244 | template <typename... Args> |