aboutsummaryrefslogtreecommitdiff
path: root/src/app/store
diff options
context:
space:
mode:
authorKevin Hoerr <kjhoerr@submelon.dev>2026-05-04 16:30:20 -0400
committerKevin Hoerr <kjhoerr@submelon.dev>2026-05-04 16:30:20 -0400
commitd2f755c74b26138e44e680d04149b57333c6abb6 (patch)
tree9fd22b14f6c70886641a7be4c48242ef168b2456 /src/app/store
parent3d7d9e7bf7e7d65a07c851bf6fdffacd81cb0055 (diff)
downloadequity-tracker-d2f755c74b26138e44e680d04149b57333c6abb6.tar.gz
equity-tracker-d2f755c74b26138e44e680d04149b57333c6abb6.tar.bz2
equity-tracker-d2f755c74b26138e44e680d04149b57333c6abb6.zip
store/mod.rs: Add migration error to ContextError
Diffstat (limited to 'src/app/store')
-rw-r--r--src/app/store/mod.rs2
1 files changed, 2 insertions, 0 deletions
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")]