4 ms·
I think I read somewhere that anyhow is great for application code where you want a unified error type across the application. And something like thiserror is g
by nixpulvis 1y ago
I think I read somewhere that anyhow is great for application code where you want a unified error type across the application. And something like thiserror is good for library code where you want specific error variants for each kind of fallibility.
Personally, I think I prefer thiserror style errors everywhere, but I can see some of the tradeoffs.