Enum tantivy::schema::DocParsingError [] [src]

pub enum DocParsingError {
    NotJSON(String),
    ValueError(String, ValueParsingError),
    NoSuchFieldInSchema(String),
}

Error that may happen when deserializing a document from JSON.

Variants

The payload given is not valid JSON.

One of the value node could not be parsed.

The json-document contains a field that is not declared in the schema.

Trait Implementations

impl From<DocParsingError> for Error
[src]

[src]

Performs the conversion.

impl Debug for DocParsingError
[src]

[src]

Formats the value using the given formatter. Read more