summaryrefslogtreecommitdiffstats
path: root/src/fail.rs
diff options
context:
space:
mode:
authorrabite <rabite@posteo.de>2019-02-28 18:43:11 +0100
committerrabite <rabite@posteo.de>2019-02-28 18:48:37 +0100
commit06817602a8559e8c214c7f68d804ee1d7d9ffd77 (patch)
treeab3672a6f7f43c478ff8783f4d8a99d5a05e487a /src/fail.rs
parentfd67621dee25990cca67766865ec3e991b5bf11e (diff)
view exec'd processes status/output
Diffstat (limited to 'src/fail.rs')
-rw-r--r--src/fail.rs4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/fail.rs b/src/fail.rs
index 3e85e11..02287f9 100644
--- a/src/fail.rs
+++ b/src/fail.rs
@@ -32,7 +32,9 @@ pub enum HError {
#[fail(display = "No widget found")]
NoWidgetError,
#[fail(display = "Path: {:?} not in this directory: {:?}", path, dir)]
- WrongDirectoryError{ path: PathBuf, dir: PathBuf }
+ WrongDirectoryError{ path: PathBuf, dir: PathBuf },
+ #[fail(display = "Widget finnished")]
+ PopupFinnished,
}
impl From<std::io::Error> for HError {