mirror of
https://github.com/meilisearch/meilisearch.git
synced 2024-11-25 19:45:05 +08:00
18 lines
374 B
Rust
18 lines
374 B
Rust
use milli::heed;
|
|
use thiserror::Error;
|
|
|
|
#[derive(Error, Debug)]
|
|
pub enum Error {
|
|
#[error("Index not found")]
|
|
IndexNotFound,
|
|
#[error("Corrupted task queue.")]
|
|
CorruptedTaskQueue,
|
|
#[error(transparent)]
|
|
Heed(#[from] heed::Error),
|
|
#[error(transparent)]
|
|
Milli(#[from] milli::Error),
|
|
|
|
#[error(transparent)]
|
|
Anyhow(#[from] anyhow::Error),
|
|
}
|