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"""
15 class ManifestNotFound(Exception):
16 def __init__(self
, manifest_name
) -> None:
17 super(Exception, self
).__init
__("Unable to find manifest '%s'" % manifest_name
)