mirror of
https://github.com/meilisearch/meilisearch.git
synced 2025-11-15 15:26:31 +00:00
move the DumpWriter and Error to their own module
This commit is contained in:
9
dump/src/error.rs
Normal file
9
dump/src/error.rs
Normal file
@@ -0,0 +1,9 @@
|
||||
use thiserror::Error;
|
||||
|
||||
#[derive(Debug, Error)]
|
||||
pub enum Error {
|
||||
#[error(transparent)]
|
||||
Io(#[from] std::io::Error),
|
||||
#[error(transparent)]
|
||||
Serde(#[from] serde_json::Error),
|
||||
}
|
||||
Reference in New Issue
Block a user