diff --git a/milli/src/error.rs b/milli/src/error.rs index a5ed47c7d..02691a5cf 100644 --- a/milli/src/error.rs +++ b/milli/src/error.rs @@ -39,17 +39,17 @@ pub enum InternalError { Fst(#[from] fst::Error), #[error(transparent)] DocumentsError(#[from] documents::Error), - #[error("Invalid compression type have been specified to grenad.")] + #[error("Invalid compression type have been specified to grenad")] GrenadInvalidCompressionType, - #[error("Invalid grenad file with an invalid version format.")] + #[error("Invalid grenad file with an invalid version format")] GrenadInvalidFormatVersion, - #[error("Invalid merge while processing {process}.")] + #[error("Invalid merge while processing {process}")] IndexingMergingKeys { process: &'static str }, #[error("{}", HeedError::InvalidDatabaseTyping)] InvalidDatabaseTyping, #[error(transparent)] RayonThreadPool(#[from] ThreadPoolBuildError), - #[error("A panic occured. Read the logs to find more information about it.")] + #[error("A panic occured. Read the logs to find more information about it")] PanicInThreadPool, #[error(transparent)] SerdeJson(#[from] serde_json::Error), @@ -59,9 +59,9 @@ pub enum InternalError { Store(#[from] MdbError), #[error(transparent)] Utf8(#[from] str::Utf8Error), - #[error("An indexation process was explicitly aborted.")] + #[error("An indexation process was explicitly aborted")] AbortedIndexation, - #[error("The matching words list contains at least one invalid member.")] + #[error("The matching words list contains at least one invalid member")] InvalidMatchingWords, #[error(transparent)] ArroyError(#[from] arroy::Error),