4 ms·
> instead of using one generic error type for all of them But you can do that in Rust, just use Box<Error>. No library does that though, because it is not a ze
by whyever 9y ago
> instead of using one generic error type for all of them
But you can do that in Rust, just use Box<Error>. No library does that though, because it is not a zero-cost abstraction.