jazzfool / reclutch

Rust UI Core
Other
157 stars 4 forks source link

Tracking issue: Error reporting #6

Closed fogti closed 4 years ago

fogti commented 5 years ago

It might be a good idea to revisit the choice of using failure for error reporting in the display backend. Maybe a smaller and/or more modern error handling crate should/could be used.

jazzfool commented 5 years ago

I agree, error handling in general is quite lazy. What do you propose instead? I was thinking perhaps snafu?

fogti commented 5 years ago

anyhow and thiserror should also be considered.

fogti commented 5 years ago

I think snafu might be a too big dependency.

jazzfool commented 5 years ago

thiserror seems to be the best fit for library code. I'll begin porting the display module soon.