mirror of
https://github.com/meilisearch/MeiliSearch
synced 2025-07-04 20:37:15 +02:00
remove an unused error handling file
This commit is contained in:
parent
d8fb506c92
commit
52aa34d984
3 changed files with 4 additions and 47 deletions
|
@ -19,9 +19,9 @@ pub enum Error {
|
|||
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::Io(e) => e.error_code(),
|
||||
|
||||
// These error come from an internal mis
|
||||
Error::Serde(_) => Code::Internal,
|
||||
Error::Uuid(_) => Code::Internal,
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue