mirror of
https://github.com/meilisearch/MeiliSearch
synced 2025-07-04 04:17:10 +02:00
error message for missing primary key
This commit is contained in:
parent
0fc624aa81
commit
ae6a92f89a
1 changed files with 1 additions and 1 deletions
|
@ -34,7 +34,7 @@ impl fmt::Display for SerializerError {
|
|||
fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result {
|
||||
match self {
|
||||
SerializerError::DocumentIdNotFound => {
|
||||
f.write_str("serialized document does not have an id according to the schema")
|
||||
f.write_str("Primary key is missing.")
|
||||
}
|
||||
SerializerError::InvalidDocumentIdFormat => {
|
||||
f.write_str("a document primary key can be of type integer or string only composed of alphanumeric characters, hyphens (-) and underscores (_).")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue