wip porting the index back in the scheduler

This commit is contained in:
Irevoire 2022-09-07 20:08:07 +02:00 committed by Clément Renault
parent fe330e1be9
commit d8b8e04ad1
No known key found for this signature in database
GPG key ID: 92ADA4E935E71FA4
14 changed files with 2493 additions and 21 deletions

View file

@ -3,8 +3,10 @@ use thiserror::Error;
#[derive(Error, Debug)]
pub enum Error {
#[error("Index not found")]
IndexNotFound,
#[error("Index `{}` not found", .0)]
IndexNotFound(String),
#[error("Index `{}` already exists", .0)]
IndexAlreadyExists(String),
#[error("Corrupted task queue.")]
CorruptedTaskQueue,
#[error(transparent)]