3 ms·
I've found this kind of pattern much nicer in an application context. Rust sort of has this going on with anyhow[1] for applications and thiserror[2] for librar
by whelming_wave 6y ago
I've found this kind of pattern much nicer in an application context. Rust sort of has this going on with anyhow[1] for applications and thiserror[2] for libraries (or just writing your own Error type).
[1]: https://crates.io/crates/anyhow https://crates.io/crates/anyhow
[2]: https://crates.io/crates/thiserror https://crates.io/crates/thiserror