Closed fogti closed 4 years ago
I agree, error handling in general is quite lazy. What do you propose instead? I was thinking perhaps snafu?
I think snafu
might be a too big dependency.
thiserror
seems to be the best fit for library code. I'll begin porting the display
module soon.
It might be a good idea to revisit the choice of using
failure
for error reporting in thedisplay
backend. Maybe a smaller and/or more modern error handling crate should/could be used.