aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/main/rust/store/mod.rs5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/main/rust/store/mod.rs b/src/main/rust/store/mod.rs
index 7c7d9ce..2408901 100644
--- a/src/main/rust/store/mod.rs
+++ b/src/main/rust/store/mod.rs
@@ -2,7 +2,6 @@ mod sqlite;
use std::num::TryFromIntError;
-use ::sqlite::Error as SQLiteLibraryError;
use miette::{Diagnostic, Result};
use thiserror::Error;
@@ -12,8 +11,8 @@ pub enum Context {
#[derive(Debug, Diagnostic, Error)]
pub enum ContextError {
- #[error("SQLite error")]
- SQLiteError(#[from] SQLiteLibraryError),
+ #[error("Data storage error")]
+ DataError(#[from] ::sqlite::Error),
#[error("Int conversion error")]
ConversionError(#[from] TryFromIntError),
}