diff options
author | Jesse Luehrs <doy@tozt.net> | 2024-01-01 15:50:27 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-01-01 15:50:27 -0500 |
commit | 27be76f23ed36d595c1f3fa37b0d5de0cae56def (patch) | |
tree | 8731ce04614e8b6dc04c1a885e4c4f5b99240611 /src/error.rs | |
parent | 224a660b1d66fda5ee2366086f40339672f321ab (diff) | |
parent | 5c3332884a917d4da05bfa437ee8b7c7ba5a56b9 (diff) | |
download | rbw-27be76f23ed36d595c1f3fa37b0d5de0cae56def.tar.gz rbw-27be76f23ed36d595c1f3fa37b0d5de0cae56def.zip |
Merge pull request #138 from soraxas/feat-edit-from-stdin
Implements ability to edit from taking piped inputs
Diffstat (limited to 'src/error.rs')
-rw-r--r-- | src/error.rs | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/error.rs b/src/error.rs index 31edaf3..1ffbcdd 100644 --- a/src/error.rs +++ b/src/error.rs @@ -21,6 +21,11 @@ pub enum Error { #[error("failed to parse pinentry output ({out:?})")] FailedToParsePinentry { out: String }, + #[error("failed to read from stdin: {err}")] + FailedToReadFromStdin { + err: std::io::Error, + }, + #[error( "failed to run editor {}: {err}", .editor.to_string_lossy(), |