Check if this error indicates the change doesn't exist. This is useful for distinguishing "not found" from other errors when implementing fallback logic.
(&self)
| 91 | /// This is useful for distinguishing "not found" from other errors |
| 92 | /// when implementing fallback logic. |
| 93 | pub fn is_not_found(&self) -> bool { |
| 94 | matches!(self, ChangeStoreError::NotFound { .. }) |
| 95 | } |
| 96 | |
| 97 | /// Check if this error indicates data corruption. |
| 98 | /// |
nothing calls this directly
no outgoing calls
no test coverage detected