Wow...that works... THANK YOU A LOT !
I am interested. How would I do it ?
It would by using the failure
crate right ?
Wow...that works... THANK YOU A LOT !
I am interested. How would I do it ?
It would by using the failure
crate right ?
Error handling is well covered in The Rust Programming Language. The original code I posted uses Box<dyn Error>
as an example.
I'm personally not a huge fan of that crate, but I also haven't used it extensively. I've listed a few crates that help with defining your own error type:
https://stackoverflow.com/q/42584368/155423
I personally like quick-error.
Thanks again for the time and patience you put to solve my problem with your knowledge !