diff options
author | Adam T. Carpenter <atc@53hor.net> | 2021-04-28 19:58:27 -0400 |
---|---|---|
committer | Adam T. Carpenter <atc@53hor.net> | 2021-04-28 19:58:27 -0400 |
commit | f206de5d49eda1900552a4b19f01c8c6985b7903 (patch) | |
tree | 86f0b681e01eeda4a8d5f03a85c988866538b981 /src/error.rs | |
parent | d83fe68ed51016bbb87d83aa512ef8b9d3f0780e (diff) | |
download | twinh-f206de5d49eda1900552a4b19f01c8c6985b7903.tar.xz twinh-f206de5d49eda1900552a4b19f01c8c6985b7903.zip |
finally committed to structopt arg parsingenhancement/2
Diffstat (limited to 'src/error.rs')
-rw-r--r-- | src/error.rs | 4 |
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 { |