1
0
mirror of synced 2026-01-01 18:02:53 -05:00
Files
airbyte/airbyte-cdk/python/airbyte_cdk/sources/declarative/exceptions.py
Alexandre Girard f540499f43 [low-code connectors]: Assert there are no custom top-level fields (#15489)
* move components to definitions field

* Also update the references

* validate the top level fields and add version

* raise exception on unknown fields

* newline

* unit tests

* set version to 0.1.0

* newline
2022-08-10 11:37:07 -07:00

16 lines
299 B
Python

#
# Copyright (c) 2022 Airbyte, Inc., all rights reserved.
#
class ReadException(Exception):
"""
Raise when there is an error reading data from an API Source
"""
class InvalidConnectorDefinitionException(Exception):
"""
Raise when the connector definition is invalid
"""