summaryrefslogtreecommitdiff
path: root/src/error.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/error.rs')
-rw-r--r--src/error.rs4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/error.rs b/src/error.rs
index d58924e..23ef7bc 100644
--- a/src/error.rs
+++ b/src/error.rs
@@ -1,3 +1,4 @@
+use crate::html::HtmlError;
use std::path::PathBuf;
#[derive(Debug, thiserror::Error)]
@@ -94,6 +95,9 @@ pub enum SiteError {
#[error("toc directive arguments 'levels' could not be parsed as an integer: {0}")]
LevelsParse(String, #[source] std::num::ParseIntError),
+
+ #[error(transparent)]
+ HtmlError(#[from] HtmlError),
}
impl SiteError {