mirror of
https://github.com/meilisearch/MeiliSearch
synced 2025-07-04 04:17:10 +02:00
move the DumpWriter and Error to their own module
This commit is contained in:
parent
568b743ac8
commit
e486878463
3 changed files with 373 additions and 363 deletions
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),
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue