Debian Codegraph @

thirdparty/folly/build/fbcode_builder/getdeps/errors.py

raw
1 # Copyright (c) Meta Platforms, Inc. and affiliates.
2 #
3 # This source code is licensed under the MIT license found in the
4 # LICENSE file in the root directory of this source tree.
5
6
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"""
11
12 pass
13
14
15 class ManifestNotFound(Exception):
16 def __init__(self, manifest_name) -> None:
17 super(Exception, self).__init__("Unable to find manifest '%s'" % manifest_name)