mirror of
https://github.com/fabro-sh/fabro.git
synced 2026-10-08 03:10:26 +00:00
12 lines
251 B
Rust
12 lines
251 B
Rust
use thiserror::Error as ThisError;
|
|
|
|
#[derive(Debug, ThisError)]
|
|
pub enum Error {
|
|
#[error("Parse error: {0}")]
|
|
Parse(String),
|
|
|
|
#[error("Stylesheet error: {0}")]
|
|
Stylesheet(String),
|
|
}
|
|
|
|
pub type Result<T> = std::result::Result<T, Error>;
|