3 ms·
> Why not `thiserror` for executables as well? You can absolutely do that if you want, it's just that usually when writing an executable you don't care about c
by masklinn 6y ago
> Why not `thiserror` for executables as well?
You can absolutely do that if you want, it's just that usually when writing an executable you don't care about creating the precise error types thiserror provides (especially doing so executable-wide), you'd handle the errors you get from reqwest or sqlx or whatever when you get them, and those you don't handle you just want to bubble up to an executable-wide handler.