This commit is contained in:
F. Levi 2024-09-16 23:59:48 +03:00
parent 4a922a176f
commit ec815fa368
2 changed files with 4 additions and 2 deletions

View File

@ -534,7 +534,8 @@ impl fmt::Display for deserr_codes::InvalidSimilarId {
f, f,
"the value of `id` is invalid. \ "the value of `id` is invalid. \
A document identifier can be of type integer or string, \ 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." only composed of alphanumeric characters (a-z A-Z 0-9), hyphens (-) and underscores (_), \
and can not be more than 512 bytes."
) )
} }
} }

View File

@ -81,7 +81,8 @@ impl fmt::Display for IndexUidFormatError {
f, f,
"`{}` is not a valid index uid. Index uid can be an \ "`{}` is not a valid index uid. Index uid can be an \
integer or a string containing only alphanumeric \ integer or a string containing only alphanumeric \
characters, hyphens (-) and underscores (_), and can not be more than 512 bytes.", characters, hyphens (-) and underscores (_), \
and can not be more than 512 bytes.",
self.invalid_uid, self.invalid_uid,
) )
} }