3 ms·
I have mixed feelings about the error handling. It is kind of boilerplatey, but I find myself stopping to consider how best to manage an error vs languages wit
by lokar 5y ago
I have mixed feelings about the error handling.
It is kind of boilerplatey, but I find myself stopping to consider how best to manage an error vs languages with exceptions.
- angelzen 5y agoTry Result + combinators + ? operator. https://learning-rust.github.io/docs/e6.combinators.html https://learning-rust.github.io/docs/e6.combinators.html https://learning-rust.github.io/docs/e5.error_and_none_propagation.html https://learning-rust.github.io/docs/e5.error_and_none_propa...