taxa-core 0.1.0

taxa engine core: manifest model, formula AST→Polars Expr, bounded query generators over Polars.
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
//! Engine error type.

#[derive(Debug, thiserror::Error)]
pub enum Error {
    #[error("formula error: {0}")]
    Formula(#[from] crate::formula::FormulaError),
    #[error("schema error: {0}")]
    Schema(String),
    #[error("engine error: {0}")]
    Engine(String),
    #[error(transparent)]
    Polars(#[from] polars::prelude::PolarsError),
}

pub type Result<T> = std::result::Result<T, Error>;