mirror of
https://github.com/meilisearch/MeiliSearch
synced 2025-07-04 20:37:15 +02:00
fix most of the index module
This commit is contained in:
parent
e7b2b9306a
commit
fda5ca60bd
7 changed files with 45 additions and 19 deletions
|
@ -1,6 +1,8 @@
|
|||
use milli::heed;
|
||||
use thiserror::Error;
|
||||
|
||||
use crate::index;
|
||||
|
||||
#[derive(Error, Debug)]
|
||||
pub enum Error {
|
||||
#[error("Index `{}` not found", .0)]
|
||||
|
@ -13,6 +15,8 @@ pub enum Error {
|
|||
Heed(#[from] heed::Error),
|
||||
#[error(transparent)]
|
||||
Milli(#[from] milli::Error),
|
||||
#[error("{0}")]
|
||||
IndexError(#[from] index::error::IndexError),
|
||||
|
||||
#[error(transparent)]
|
||||
Anyhow(#[from] anyhow::Error),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue