Closed yuvallanger closed 5 years ago
irc.mozilla.org's #rust-beginners said I shouldn't be returning a std::boxed::Box<std::error::Error>
, instead just return a ConfyError
, either with or without the help of the failure
crate.
I think I will just replace all the rest of the unwrap()
s with more ConfyError
values.
Please make sure the errors reported with those enum values are actually what those errors are.
I am not sure if I am doing it right, so please be careful in your review.
Merging this. Thanks
Could we see this fix in a new crates.io release, please? I just hit an issue where a supposedly non-fatal parsing of the config file is causing the application to panic.
I talk about it on #11. I don't know if it works. It compiles.