diff options
| author | Kevin Hoerr <kjhoerr@submelon.dev> | 2026-05-04 16:30:20 -0400 |
|---|---|---|
| committer | Kevin Hoerr <kjhoerr@submelon.dev> | 2026-05-04 16:30:20 -0400 |
| commit | d2f755c74b26138e44e680d04149b57333c6abb6 (patch) | |
| tree | 9fd22b14f6c70886641a7be4c48242ef168b2456 /src/app/store | |
| parent | 3d7d9e7bf7e7d65a07c851bf6fdffacd81cb0055 (diff) | |
| download | equity-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.rs | 2 |
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")] |
