diff options
Diffstat (limited to 'src/error.rs')
-rw-r--r-- | src/error.rs | 9 |
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(), )] |