summaryrefslogtreecommitdiffstats
path: root/src/fail.rs
diff options
context:
space:
mode:
authorrabite <rabite@posteo.de>2019-03-11 00:01:28 +0100
committerrabite <rabite@posteo.de>2019-03-11 00:01:28 +0100
commit5b9a150a10411dcc47bd6340aa33fa8423aaa2be (patch)
tree731746fa1faa6110d256990c3085de6f2834efe9 /src/fail.rs
parentb332c4fb116302117b584cd0cbf440266e00e17e (diff)
bookmarks
Diffstat (limited to 'src/fail.rs')
-rw-r--r--src/fail.rs3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/fail.rs b/src/fail.rs
index 80865e0..90def78 100644
--- a/src/fail.rs
+++ b/src/fail.rs
@@ -70,6 +70,9 @@ impl HError {
Err(HError::WrongWidgetError{ got: got.to_string(),
wanted: wanted.to_string()})
}
+ pub fn popup_finnished<T>() -> HResult<T> {
+ Err(HError::PopupFinnished)
+ }
}
pub trait ErrorLog where Self: Sized {