1
0
mirror of https://github.com/facebook/proxygen.git synced 2025-09-11 12:30:43 +03:00
Files
proxygen/build/fbcode_builder/getdeps/errors.py
John Reese b0335039ca apply black 20.8b1 formatting update
Summary:
allow-large-files

black_any_style

Reviewed By: zertosh

Differential Revision: D24325133

fbshipit-source-id: b4afe80d1e8b2bc993f4b8e3822c02964df47462
2020-10-14 20:21:40 -07:00

20 lines
632 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)