sapling/eden/mononoke/revset
Thomas Orozco fd6b1d4ec6 common/rust/failure_ext: get rid of error chain
Summary:
This removes our own (Mononoke's) implementation of failure chains, and instead
replaces them with usage of Anyhow. This doesn't appear to be used anywhere
besides Mononoke.

The historical motivation for failure chains was to make context introspectable
back when we were using Failure. However, we're not using Failure anymore, and
Anyhow does that out of the box with its `context` method, which you can
downcast to the original error or any of the context instances:

https://docs.rs/anyhow/1.0.28/anyhow/trait.Context.html#effect-on-downcasting

Reviewed By: StanislavGlebik

Differential Revision: D21384015

fbshipit-source-id: 1dc08b4b38edf8f9a2c69a1e1572d385c7063dbe
2020-05-05 05:44:52 -07:00
..
revset-test-helper Clean out unused deps from our TARGETS files 2020-04-14 03:38:11 -07:00
src common/rust/failure_ext: get rid of error chain 2020-05-05 05:44:52 -07:00
Cargo.toml Clean out unused deps from our TARGETS files 2020-04-14 03:38:11 -07:00