aboutsummaryrefslogtreecommitdiffstats
path: root/src/error.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/error.rs')
-rw-r--r--src/error.rs6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/error.rs b/src/error.rs
index 8c253c9..806d85c 100644
--- a/src/error.rs
+++ b/src/error.rs
@@ -70,6 +70,12 @@ pub enum Error {
#[snafu(display("failed to load db: {}", source))]
LoadDbJson { source: serde_json::Error },
+ #[snafu(display("pinentry cancelled"))]
+ PinentryCancelled,
+
+ #[snafu(display("pinentry error: {}", error))]
+ PinentryErrorMessage { error: String },
+
#[snafu(display("error reading pinentry output: {}", source))]
PinentryReadOutput { source: tokio::io::Error },