summaryrefslogtreecommitdiff
path: root/src/error.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/error.rs')
-rw-r--r--src/error.rs6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/error.rs b/src/error.rs
index 7d5d2b5..845f08d 100644
--- a/src/error.rs
+++ b/src/error.rs
@@ -21,15 +21,15 @@ pub enum RikiError {
#[error(transparent)]
Parser(#[from] crate::parser::ParserError),
+ #[error(transparent)]
+ Time(#[from] crate::time::TimeError),
+
#[error("string formatting error: {0}")]
Format(#[source] std::fmt::Error),
#[error("link to missing page {1} on {0}")]
PageMissing(PathBuf, PathBuf),
- #[error("failed to parse date: {0:?}")]
- UnknownTimestamp(String),
-
#[error("failed to process page {0}")]
PageProblem(PathBuf, #[source] Box<Self>),