mirror of
https://github.com/facebook/proxygen.git
synced 2025-08-08 18:02:05 +03:00
Summary: The future is now. Reviewed By: xavierd Differential Revision: D33714537 fbshipit-source-id: 8d282bbe7391c4b72b70dab54a5c252060fba457
18 lines
550 B
Python
18 lines
550 B
Python
# Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
#
|
|
# This source code is licensed under the MIT license found in the
|
|
# LICENSE file in the root directory of this source tree.
|
|
|
|
|
|
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)
|