Files
tools/publish/src/error.rs
T

28 lines
673 B
Rust
Raw Normal View History

2026-06-08 19:33:49 -04:00
use thiserror::Error;
pub type Result<R> = std::result::Result<R, Error>;
#[derive(Error, Debug)]
pub(crate) enum Error {
#[error(transparent)]
Io(#[from] std::io::Error),
2026-06-23 21:55:52 -04:00
#[error(transparent)]
Storage(#[from] oxigraph::store::StorageError),
2026-06-08 19:33:49 -04:00
#[error(transparent)]
IriParse(#[from] oxigraph::model::IriParseError),
#[error(transparent)]
RdfSyntax(#[from] oxigraph::io::RdfSyntaxError),
#[error(transparent)]
ParseInt(#[from] std::num::ParseIntError),
#[error(transparent)]
Search(#[from] gl_search::SearchError),
2026-06-29 15:20:02 -04:00
#[error(transparent)]
QueryEvaluation(#[from] oxigraph::sparql::QueryEvaluationError),
2026-06-08 19:33:49 -04:00
}