mirror of
https://github.com/facebook/proxygen.git
synced 2025-08-08 18:02:05 +03:00
Summary: See https://fb.workplace.com/groups/osssupport/permalink/2846876118694318/ Reviewed By: wez Differential Revision: D17750243 fbshipit-source-id: 9e149df1f8e09203820f50d0fcac4a5cecf52e33
20 lines
634 B
Python
20 lines
634 B
Python
# Copyright (c) Facebook, Inc. and its affiliates.
|
|
#
|
|
# This source code is licensed under the MIT license found in the
|
|
# LICENSE file in the root directory of this source tree.
|
|
|
|
from __future__ import absolute_import, division, print_function, unicode_literals
|
|
|
|
|
|
class TransientFailure(Exception):
|
|
""" Raising this error causes getdeps to return with an error code
|
|
that Sandcastle will consider to be a retryable transient
|
|
infrastructure error """
|
|
|
|
pass
|
|
|
|
|
|
class ManifestNotFound(Exception):
|
|
def __init__(self, manifest_name):
|
|
super(Exception, self).__init__("Unable to find manifest '%s'" % manifest_name)
|