mirror of
https://github.com/meilisearch/MeiliSearch
synced 2025-07-04 12:27:13 +02:00
Return an internal error in the case of matching word is invalid
This commit is contained in:
parent
900bae3d9d
commit
37489fd495
5 changed files with 18 additions and 8 deletions
|
@ -59,6 +59,8 @@ pub enum InternalError {
|
|||
Utf8(#[from] str::Utf8Error),
|
||||
#[error("An indexation process was explicitly aborted.")]
|
||||
AbortedIndexation,
|
||||
#[error("The matching words list contains at least one invalid member.")]
|
||||
InvalidMatchingWords,
|
||||
}
|
||||
|
||||
#[derive(Error, Debug)]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue