aboutsummaryrefslogtreecommitdiffstats
path: root/src/error.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/error.rs')
-rw-r--r--src/error.rs9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/error.rs b/src/error.rs
index 82fdb49..bc97087 100644
--- a/src/error.rs
+++ b/src/error.rs
@@ -26,6 +26,15 @@ pub enum Error {
FailedToParsePinentry { out: String },
#[error(
+ "failed to run editor {}: {err}",
+ .editor.to_string_lossy(),
+ )]
+ FailedToFindEditor {
+ editor: std::path::PathBuf,
+ err: std::io::Error,
+ },
+
+ #[error(
"failed to run editor {}: {res:?}",
.editor.to_string_lossy(),
)]