sapling/eden
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
..
fs default storage engine in config.toml 2020-05-04 22:08:41 -07:00
integration Custom pyre upgrade for eden 2020-05-04 21:19:20 -07:00
locale add a copyright header to glibc_en.po 2019-04-26 14:38:27 -07:00
mononoke common/rust/failure_ext: get rid of error chain 2020-05-05 05:44:52 -07:00
scm Custom pyre upgrade for eden 2020-05-04 21:19:20 -07:00
scripts Tidy up license headers 2019-10-11 05:28:23 -07:00
test_support fix a file descriptor leak in the temporary file code 2020-04-28 12:11:51 -07:00
test-data enable treemanifest in snapshots 2019-08-28 18:46:03 -07:00
win add .clang-format 2020-04-28 08:42:03 -07:00
.clang-format add .clang-format 2020-04-28 08:42:03 -07:00
.gitignore eden: wire up mac contbuild 2019-02-05 21:52:30 -08:00
Eden.project.toml Eden.project.toml file for Nuclide 2018-04-26 11:05:23 -07:00