libpathrs icon indicating copy to clipboard operation
libpathrs copied to clipboard

look into error_chain

Open cyphar opened this issue 6 years ago • 1 comments

This is basically a reboot of the snafu porting effort. I will need to consider this for a bit longer, but I like that error-chain has a much more opaque-to-the-user API -- all that's exposed is ErrorKind. Also the foreign_links feature composes much better than snafu. But I'll need to think about this a lot more (and probably create some test examples).

cyphar avatar Feb 04 '20 07:02 cyphar

Just in case you haven't seen this blog post pass by, here's a nice overview/comparison of the various available Rust error handling crates.

HadrienG2 avatar Feb 08 '20 15:02 HadrienG2