3 ms·
I did mention Failure/Snafu, but there are two problems with it: 1) The state of "how best to handle errors" keeps on changing. It was error_chain, then err-de
by munmaek 7y ago
I did mention Failure/Snafu, but there are two problems with it:
1) The state of "how best to handle errors" keeps on changing. It was error_chain, then err-derive, then Failure, now Fehler or Snafu.. I would like to see this space calm down a bit.
2) Failure/Snafu require additional dependencies. For minimal libraries it's really not necessary to pull in so much when a a little boilerplate suffices. [0]
[0]: https://git.sr.ht/~andrewzah/hangeul-rs/tree/master/src/errors.rs https://git.sr.ht/~andrewzah/hangeul-rs/tree/master/src/erro...