mirror of
https://github.com/facebook/sapling.git
synced 2024-10-11 17:27:53 +03:00
48544b0233
Summary: Add an `errors` module containing an `ErrorKind` implemented via `thiserror`. All errors in the server's HTTP handles been annotated with an appropriate `ErrorKind` via `anyhow::Context`. Notably, there is specialized handling of `MononokeError`s from the `mononoke_api` crate via a new `MononokeErrorExt` trait. Reviewed By: krallin Differential Revision: D22012237 fbshipit-source-id: 5f6948696e4741816636f1c6fee12069ee1a4b32 |
||
---|---|---|
.. | ||
src | ||
Cargo.toml |