summaryrefslogtreecommitdiff
path: root/src/error.rs
diff options
context:
space:
mode:
authorAdam T. Carpenter <atc@53hor.net>2021-04-28 19:58:27 -0400
committerAdam T. Carpenter <atc@53hor.net>2021-04-28 19:58:27 -0400
commitf206de5d49eda1900552a4b19f01c8c6985b7903 (patch)
tree86f0b681e01eeda4a8d5f03a85c988866538b981 /src/error.rs
parentd83fe68ed51016bbb87d83aa512ef8b9d3f0780e (diff)
downloadtwinh-enhancement/2.tar.xz
twinh-enhancement/2.zip
finally committed to structopt arg parsingenhancement/2
Diffstat (limited to 'src/error.rs')
-rw-r--r--src/error.rs4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/error.rs b/src/error.rs
index ef0ef1d..f987d66 100644
--- a/src/error.rs
+++ b/src/error.rs
@@ -8,6 +8,10 @@ use std::num::ParseIntError;
#[derive(Debug)]
pub struct TwinHError(pub String);
+impl TwinHError {
+ fn bail(self) {}
+}
+
impl std::error::Error for TwinHError {}
impl std::fmt::Display for TwinHError {