Cleanup error type mapping in serde_snapshot (#10580)
* Cleanup error type mapping in serde_snapshot * Fail when account storage entry files cannot be moved from snapshot
This commit is contained in:
committed by
GitHub
parent
540ac9eb6b
commit
50c93d4441
@ -88,7 +88,7 @@ pub enum SnapshotError {
|
||||
IO(#[from] std::io::Error),
|
||||
|
||||
#[error("serialization error")]
|
||||
Serialize(#[from] Box<bincode::ErrorKind>),
|
||||
Serialize(#[from] bincode::Error),
|
||||
|
||||
#[error("file system error")]
|
||||
FsExtra(#[from] fs_extra::error::Error),
|
||||
|
Reference in New Issue
Block a user