move ecsotre/error to common

This commit is contained in:
weisd
2025-03-25 17:14:40 +08:00
parent c3b47adf39
commit 545ae79e44
81 changed files with 444 additions and 359 deletions
+2 -4
View File
@@ -2,11 +2,9 @@ use std::io::{self, ErrorKind};
use tracing::error;
use crate::quorum::CheckErrorFn;
use crate::utils::ERROR_TYPE_MASK;
use crate::{
error::{Error, Result},
quorum::CheckErrorFn,
};
use common::error::{Error, Result};
// DiskError == StorageErr
#[derive(Debug, thiserror::Error)]