khive-query 0.2.4

GQL and SPARQL parsers with SQL compiler for knowledge graph queries.
Documentation
/// Errors produced by the query parsing and compilation pipeline.
#[derive(Debug, thiserror::Error)]
pub enum QueryError {
    #[error("parse error at position {position}: {message}")]
    Parse { position: usize, message: String },

    #[error("compile error: {0}")]
    Compile(String),

    #[error("validation error: {0}")]
    Validation(String),

    #[error("unsupported feature: {0}")]
    Unsupported(String),

    /// A query parameter value is out of the allowed range (ADR-008 ยง"Depth limits").
    #[error("invalid input: {0}")]
    InvalidInput(String),
}