mirror of
https://github.com/facebook/sapling.git
synced 2024-10-10 16:57:49 +03:00
6a25dbee81
Summary: Instead of returning `anyhow::Error` wrapping an `ErrorKind` enum from each Thrift client method, just return an error type specific to that method. This will make error handling simpler and less error-prone by removing the need to downcast the returned error. This diff also removes the `ErrorKind` enums so that we can be sure that there are no leftover places trying to downcast to them. (Note: this ignores all push blocking failures!) Reviewed By: dtolnay Differential Revision: D20260398 fbshipit-source-id: f0dd96a7b83dd49f6b30948660456539012f82e6 |
||
---|---|---|
.. | ||
src | ||
Cargo.toml |