From d2f755c74b26138e44e680d04149b57333c6abb6 Mon Sep 17 00:00:00 2001 From: Kevin Hoerr Date: Mon, 4 May 2026 16:30:20 -0400 Subject: store/mod.rs: Add migration error to ContextError --- src/app/store/mod.rs | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/app') diff --git a/src/app/store/mod.rs b/src/app/store/mod.rs index b081d42..213c4a2 100644 --- a/src/app/store/mod.rs +++ b/src/app/store/mod.rs @@ -15,6 +15,8 @@ pub enum Context { pub enum ContextError { #[error("Data storage error")] DataError(#[from] ::sqlite::Error), + #[error("Migration error")] + MigrationError(#[from] crate::db::MigrationError), #[error("Int conversion error")] IntConversionError(#[from] std::num::TryFromIntError), #[error("Timestamp conversion error")] -- cgit v1.3