Update dump/src/error.rs

Co-authored-by: Clément Renault <clement@meilisearch.com>
This commit is contained in:
Tamo 2022-10-17 16:35:23 +02:00 committed by Clément Renault
parent d0e91555d1
commit dd70daaae3
No known key found for this signature in database
GPG Key ID: 92ADA4E935E71FA4

View File

@ -22,6 +22,7 @@ impl ErrorCode for Error {
fn error_code(&self) -> Code {
match self {
// Are these three really Internal errors?
// TODO look at that later.
Error::Io(_) => Code::Internal,
Error::Serde(_) => Code::Internal,
Error::Uuid(_) => Code::Internal,