Skip to content

prefect_hightouch.exceptions

This is a module containing exceptions used within prefect-hightouch.

HightouchSyncRunCancelled

Bases: HightouchSyncRunError

Raised when Hightouch sync run is cancelled.

Source code in prefect_hightouch/exceptions.py
27
28
29
30
class HightouchSyncRunCancelled(HightouchSyncRunError):
    """
    Raised when Hightouch sync run is cancelled.
    """

HightouchSyncRunDisabled

Bases: HightouchSyncRunError

Raised when Hightouch sync run is disabled.

Source code in prefect_hightouch/exceptions.py
21
22
23
24
class HightouchSyncRunDisabled(HightouchSyncRunError):
    """
    Raised when Hightouch sync run is disabled.
    """

HightouchSyncRunError

Bases: RuntimeError

A generic Hightouch sync exception.

Source code in prefect_hightouch/exceptions.py
 8
 9
10
11
class HightouchSyncRunError(RuntimeError):
    """
    A generic Hightouch sync exception.
    """

HightouchSyncRunFailed

Bases: HightouchSyncRunError

Raised when Hightouch sync run is failed.

Source code in prefect_hightouch/exceptions.py
33
34
35
36
class HightouchSyncRunFailed(HightouchSyncRunError):
    """
    Raised when Hightouch sync run is failed.
    """

HightouchSyncRunInterrupted

Bases: HightouchSyncRunError

Raised when Hightouch sync run is interrupted.

Source code in prefect_hightouch/exceptions.py
39
40
41
42
class HightouchSyncRunInterrupted(HightouchSyncRunError):
    """
    Raised when Hightouch sync run is interrupted.
    """