diff options
Diffstat (limited to 'src/fail.rs')
-rw-r--r-- | src/fail.rs | 4 |
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 { |