airbyte_cdk.sources.declarative.parsers.custom_exceptions
1# 2# Copyright (c) 2023 Airbyte, Inc., all rights reserved. 3# 4 5 6class CircularReferenceException(Exception): 7 """ 8 Raised when a circular reference is detected in a manifest. 9 """ 10 11 def __init__(self, reference: str) -> None: 12 super().__init__(f"Circular reference found: {reference}") 13 14 15class UndefinedReferenceException(Exception): 16 """ 17 Raised when refering to an undefined reference. 18 """ 19 20 def __init__(self, path: str, reference: str) -> None: 21 super().__init__(f"Undefined reference {reference} from {path}") 22 23 24class ManifestNormalizationException(Exception): 25 """ 26 Raised when a circular reference is detected in a manifest. 27 """ 28 29 def __init__(self, message: str) -> None: 30 super().__init__(f"Failed to deduplicate manifest: {message}")
class
CircularReferenceException(builtins.Exception):
7class CircularReferenceException(Exception): 8 """ 9 Raised when a circular reference is detected in a manifest. 10 """ 11 12 def __init__(self, reference: str) -> None: 13 super().__init__(f"Circular reference found: {reference}")
Raised when a circular reference is detected in a manifest.
class
UndefinedReferenceException(builtins.Exception):
16class UndefinedReferenceException(Exception): 17 """ 18 Raised when refering to an undefined reference. 19 """ 20 21 def __init__(self, path: str, reference: str) -> None: 22 super().__init__(f"Undefined reference {reference} from {path}")
Raised when refering to an undefined reference.
class
ManifestNormalizationException(builtins.Exception):
25class ManifestNormalizationException(Exception): 26 """ 27 Raised when a circular reference is detected in a manifest. 28 """ 29 30 def __init__(self, message: str) -> None: 31 super().__init__(f"Failed to deduplicate manifest: {message}")
Raised when a circular reference is detected in a manifest.