Return true iff the status indicates an out-of-memory error.
| 289 | |
| 290 | /// Return true iff the status indicates an out-of-memory error. |
| 291 | constexpr bool IsOutOfMemory() const { return code() == StatusCode::OutOfMemory; } |
| 292 | /// Return true iff the status indicates a key lookup error. |
| 293 | constexpr bool IsKeyError() const { return code() == StatusCode::KeyError; } |
| 294 | /// Return true iff the status indicates invalid data. |