6 ms·
Some Rust libraries have started to implement unioning multiple error types and handling a subset of them while propagating the rest. But as far as I know, the
by jonnytran 4mo ago
Some Rust libraries have started to implement unioning multiple error types and handling a subset of them while propagating the rest. But as far as I know, the idea hasn't caught on. Here are the crates I know of.
https://github.com/komora-io/terrors https://github.com/komora-io/terrors
https://github.com/mcmah309/eros https://github.com/mcmah309/eros