Resync from internal VCS manually (#9159)
[hiphop-php.git] / build / fbcode_builder / getdeps / errors.py
blob92240c9538c216d765d18838c4d3c5f7054dd562
1 # Copyright (c) Meta Platforms, Inc. and affiliates.
3 # This source code is licensed under the MIT license found in the
4 # LICENSE file in the root directory of this source tree.
7 class TransientFailure(Exception):
8 """Raising this error causes getdeps to return with an error code
9 that Sandcastle will consider to be a retryable transient
10 infrastructure error"""
12 pass
15 class ManifestNotFound(Exception):
16 def __init__(self, manifest_name) -> None:
17 super(Exception, self).__init__("Unable to find manifest '%s'" % manifest_name)