mirror of
https://github.com/facebook/sapling.git
synced 2024-10-11 01:07:15 +03:00
a8f06f75c0
Summary: Currently if derivation of a particular derived data type is disabled, but a client makes a request that requires that derived data type, we will fail with an internal error. This is not ideal, as internal errors should indicate something is wrong, but in this case Mononoke is behaving correctly as configured. Convert these errors to a new `DeriveError` type, and plumb this back up to the SCS server. The SCS server converts these to a new `RequestError` variant: `NOT_AVAILABLE`. Reviewed By: krallin Differential Revision: D19943548 fbshipit-source-id: 964ad0aec3ab294e4bce789e6f38de224bed54fa |
||
---|---|---|
.. | ||
client/src | ||
if | ||
src |