mirror of
https://github.com/meilisearch/meilisearch.git
synced 2024-11-22 18:17:39 +08:00
Update dump/src/error.rs
Co-authored-by: Clément Renault <clement@meilisearch.com>
This commit is contained in:
parent
d0e91555d1
commit
dd70daaae3
@ -22,6 +22,7 @@ impl ErrorCode for Error {
|
|||||||
fn error_code(&self) -> Code {
|
fn error_code(&self) -> Code {
|
||||||
match self {
|
match self {
|
||||||
// Are these three really Internal errors?
|
// Are these three really Internal errors?
|
||||||
|
// TODO look at that later.
|
||||||
Error::Io(_) => Code::Internal,
|
Error::Io(_) => Code::Internal,
|
||||||
Error::Serde(_) => Code::Internal,
|
Error::Serde(_) => Code::Internal,
|
||||||
Error::Uuid(_) => Code::Internal,
|
Error::Uuid(_) => Code::Internal,
|
||||||
|
Loading…
Reference in New Issue
Block a user