aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTeddy Wing2022-03-13 05:11:35 +0100
committerTeddy Wing2022-03-13 05:11:35 +0100
commita43344fb70fe3ca041a0e442c5c3862ada8113e7 (patch)
tree421de5264b7415b1c2e13cec805bb306eac314cf
parent2acd2e9876bb6450db0f3b3713b975311c0f5322 (diff)
downloadyaqlite-a43344fb70fe3ca041a0e442c5c3862ada8113e7.tar.bz2
yaqlite::Error: Include `rusqlite` error description
-rw-r--r--src/lib.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib.rs b/src/lib.rs
index f151cf1..a532b36 100644
--- a/src/lib.rs
+++ b/src/lib.rs
@@ -4,7 +4,7 @@ pub mod yaml;
#[derive(thiserror::Error, Debug)]
pub enum Error {
- #[error("SQL error")]
+ #[error("SQL error: {0}")]
Sqlite(#[from] rusqlite::Error),
}