iotdb/
errors.rs

1use thiserror::Error;
2
3#[derive(Error, Debug)]
4pub enum IotDBError {
5    #[error("IO error: {0}")]
6    IO(#[from] std::io::Error),
7
8    #[error("IoTDB thrift rpc connection error")]
9    Thrift(#[from] thrift::Error),
10
11    #[error("IoTDB Polars DataFrame error")]
12    Polars(#[from] polars::error::PolarsError),
13}