6 ms·
> On the one hand, at lower-levels you want to exhaustively enumerate errors... > On the other hand, at higher-levels, you want to string together widely diffe
by vrnvu 9mo ago
> On the one hand, at lower-levels you want to exhaustively enumerate errors...
> On the other hand, at higher-levels, you want to string together widely different functionality from many separate subsystems without worrying about specific errors...
I feel like the Rust ecosystem of crates has naturally grown to handle these two ideas pretty well. `anyhow` for applications, `thiserror` for libraries.