mirror of
https://github.com/meilisearch/meilisearch.git
synced 2025-09-18 18:56:25 +00:00
start integrating the index-scheduler in meilisearch-lib
This commit is contained in:
committed by
Clément Renault
parent
8f0fd35358
commit
250410495c
@ -1,6 +1,8 @@
|
||||
use milli::heed;
|
||||
use thiserror::Error;
|
||||
|
||||
use crate::TaskId;
|
||||
|
||||
#[derive(Error, Debug)]
|
||||
pub enum Error {
|
||||
#[error("Index `{0}` not found")]
|
||||
@ -9,6 +11,8 @@ pub enum Error {
|
||||
IndexAlreadyExists(String),
|
||||
#[error("Corrupted task queue.")]
|
||||
CorruptedTaskQueue,
|
||||
#[error("Task `{0}` not found")]
|
||||
TaskNotFound(TaskId),
|
||||
#[error(transparent)]
|
||||
Heed(#[from] heed::Error),
|
||||
#[error(transparent)]
|
||||
|
Reference in New Issue
Block a user