Fix error messages

This commit is contained in:
Louis Dureuil 2024-12-10 11:06:58 +01:00
parent e610af36aa
commit 866ac91be3
No known key found for this signature in database
3 changed files with 5 additions and 4 deletions

View file

@ -114,7 +114,7 @@ pub enum UserError {
"Document identifier `{}` is invalid. \
A document identifier can be of type integer or string, \
only composed of alphanumeric characters (a-z A-Z 0-9), hyphens (-) and underscores (_), \
and can not be more than 512 bytes.", .document_id.to_string()
and can not be more than 511 bytes.", .document_id.to_string()
)]
InvalidDocumentId { document_id: Value },
#[error("Invalid facet distribution, {}", format_invalid_filter_distribution(.invalid_facets_name, .valid_facets_name))]