mirror of
https://github.com/meilisearch/MeiliSearch
synced 2025-07-03 20:07:09 +02:00
review changes
This commit is contained in:
parent
763ee521be
commit
56686dee40
10 changed files with 24 additions and 23 deletions
|
@ -9,14 +9,14 @@ pub type Result<T> = std::result::Result<T, UpdateActorError>;
|
|||
#[derive(Debug, thiserror::Error)]
|
||||
#[allow(clippy::large_enum_variant)]
|
||||
pub enum UpdateActorError {
|
||||
#[error("Update {0} doesn't exist.")]
|
||||
#[error("update {0} doesn't exist.")]
|
||||
UnexistingUpdate(u64),
|
||||
#[error("Internal error processing update: {0}")]
|
||||
#[error("internal error processing update: {0}")]
|
||||
Internal(Box<dyn Error + Send + Sync + 'static>),
|
||||
#[error("error with index: {0}")]
|
||||
IndexActor(#[from] IndexActorError),
|
||||
#[error(
|
||||
"Update store was shut down due to a fatal error, please check your logs for more info."
|
||||
"update store was shut down due to a fatal error, please check your logs for more info."
|
||||
)]
|
||||
FatalUpdateStoreError,
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue