Skip to main content

graphitepdf_stylesheet/
error.rs

1pub type Result<T> = std::result::Result<T, Error>;
2
3#[derive(Debug, thiserror::Error)]
4pub enum Error {
5    #[error(transparent)]
6    GraphitepdfErrors(#[from] graphitepdf_errors::GraphitePdfError),
7
8    #[error("invalid stylesheet: {message}")]
9    InvalidStylesheet { message: String },
10}