mirror of
https://github.com/meilisearch/meilisearch.git
synced 2025-07-25 07:41:00 +00:00
convert all the document format error due to io to io::Error
This commit is contained in:
@ -21,7 +21,8 @@ impl ErrorCode for Error {
|
||||
match self {
|
||||
Error::Io(e) => e.error_code(),
|
||||
|
||||
// These error come from an internal mis
|
||||
// These errors either happens when creating a dump and don't need any error code.
|
||||
// These error come from a internal bad deserialization.
|
||||
Error::Serde(_) => Code::Internal,
|
||||
Error::Uuid(_) => Code::Internal,
|
||||
|
||||
|
Reference in New Issue
Block a user