use thiserror::Error;
pub type Result<T> = std::result::Result<T, GlinerCandleError>;
#[derive(Debug, Error)]
pub enum GlinerCandleError {
#[error("candle error: {0}")]
Candle(#[from] candle_core::Error),
#[error("gliner error: {0}")]
Gliner(#[from] crate::GlinerError),
#[error("backend error: {0}")]
Backend(String),
}