chore: bump collab rev (#4096)

This commit is contained in:
Nathan.fooo
2023-12-05 10:04:23 -08:00
committed by GitHub
parent 48d6967d3b
commit 1a13de2ee9
10 changed files with 48 additions and 59 deletions

View File

@ -7,6 +7,7 @@ use crate::{ErrorCode, FlowyError};
impl From<PersistenceError> for FlowyError {
fn from(err: PersistenceError) -> Self {
match err {
PersistenceError::UnexpectedEmptyUpdates => FlowyError::new(ErrorCode::RecordNotFound, err),
PersistenceError::RocksdbCorruption(_) => FlowyError::new(ErrorCode::RocksdbCorruption, err),
PersistenceError::RocksdbIOError(_) => FlowyError::new(ErrorCode::RocksdbIOError, err),
_ => FlowyError::new(ErrorCode::RocksdbInternal, err),