derive-error-chain
derive-error-chain copied to clipboard
Update for error-chain v0.12.0
https://github.com/rust-lang-nursery/error-chain/commit/baee12b9faa0b87e61bfd1057c0e6c1828588e7e https://github.com/rust-lang-nursery/error-chain/commit/fb9ea0e30a147e0b4d5705c8401e622ec8625b72 https://github.com/rust-lang-nursery/error-chain/commit/92a54ba9d5b7357b89e611db87819978364ad2a1 https://github.com/rust-lang-nursery/error-chain/commit/1d7157cb4808bb0ab9d87cb4b6007d8ec4f5b5d7
I hate to be the necromancer, but... Will this ever be implemented?
Not by me.
-
error-chainitself has been abandoned (again). -
Most new users don't know
derive-error-chainexists, so they compareerror-chainwithfailureand go withfailure(and rightly so). -
derive-error-chainhas a disadvantage with respect to needing to keep thebacktraceattr in sync witherror-chain'sbacktracefeature, which causes all sorts of problems.failure's design of requiring explicit backtraces or usingContextdoesn't have that problem, which is why at least one of the original users ofderive-error-chainmoved to it. -
Even for my own projects, I've dropped
derive-error-chainfor manual enums orfailure.
So I don't really care to continue working on this any more. If someone makes a PR I'll be happy to merge it.
I see. Thanks for your reply!
This will probably be off topic, but given the flux in the error-handling ecosystem right now, which crate would you recommend using, if any? I understand that failure mostly exists to experiment, and might not exist in the future too. I used to think that error-chain was the way to go, but now there isn't any one crate that looks like a clear default.
failure is fine for now.