1
0
mirror of synced 2026-01-28 10:01:55 -05:00
Files
airbyte/airbyte-cdk/python/airbyte_cdk/sources/streams/concurrent/exceptions.py
Alexandre Girard 25fc396cdf CDK: ThreadBasedConcurrentStream skeleton and top-level AbstractStream (#30111)
Co-authored-by: girarda <girarda@users.noreply.github.com>
Co-authored-by: Maxime Carbonneau-Leclerc <maxi297@users.noreply.github.com>
Co-authored-by: Catherine Noll <clnoll@users.noreply.github.com>
2023-10-11 16:46:02 -07:00

16 lines
365 B
Python

#
# Copyright (c) 2023 Airbyte, Inc., all rights reserved.
#
from typing import Any
class ExceptionWithDisplayMessage(Exception):
"""
Exception that can be used to display a custom message to the user.
"""
def __init__(self, display_message: str, **kwargs: Any):
super().__init__(**kwargs)
self.display_message = display_message