mirror of
https://github.com/facebook/sapling.git
synced 2024-10-11 01:07:15 +03:00
fd6b1d4ec6
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 |
||
---|---|---|
.. | ||
manifest | ||
revlog | ||
Cargo.toml | ||
errors.rs | ||
lib.rs | ||
revlogrepo.rs | ||
stockbookmarks.rs |