Skip to content

prefect_dbt.cloud.exceptions

DbtCloudException

Bases: Exception

Base class for dbt Cloud exceptions

Source code in prefect_dbt/cloud/exceptions.py
1
2
class DbtCloudException(Exception):
    """Base class for dbt Cloud exceptions"""

DbtCloudGetJobFailed

Bases: DbtCloudException

Raised when unable to retrieve dbt Cloud job.

Source code in prefect_dbt/cloud/exceptions.py
36
37
class DbtCloudGetJobFailed(DbtCloudException):
    """Raised when unable to retrieve dbt Cloud job."""

DbtCloudGetRunArtifactFailed

Bases: DbtCloudException

Raised when unable to get a dbt Cloud run artifact

Source code in prefect_dbt/cloud/exceptions.py
13
14
class DbtCloudGetRunArtifactFailed(DbtCloudException):
    """Raised when unable to get a dbt Cloud run artifact"""

DbtCloudGetRunFailed

Bases: DbtCloudException

Raised when unable to retrieve dbt Cloud run

Source code in prefect_dbt/cloud/exceptions.py
5
6
class DbtCloudGetRunFailed(DbtCloudException):
    """Raised when unable to retrieve dbt Cloud run"""

DbtCloudJobRunCancelled

Bases: DbtCloudException

Raised when a triggered job run is cancelled

Source code in prefect_dbt/cloud/exceptions.py
21
22
class DbtCloudJobRunCancelled(DbtCloudException):
    """Raised when a triggered job run is cancelled"""

DbtCloudJobRunFailed

Bases: DbtCloudException

Raised when a triggered job run fails

Source code in prefect_dbt/cloud/exceptions.py
17
18
class DbtCloudJobRunFailed(DbtCloudException):
    """Raised when a triggered job run fails"""

DbtCloudJobRunIncomplete

Bases: DbtCloudException

Raised when a triggered job run is not complete.

Source code in prefect_dbt/cloud/exceptions.py
40
41
class DbtCloudJobRunIncomplete(DbtCloudException):
    """Raised when a triggered job run is not complete."""

DbtCloudJobRunTimedOut

Bases: DbtCloudException

Raised when a triggered job run does not complete in the configured max wait seconds

Source code in prefect_dbt/cloud/exceptions.py
25
26
27
28
29
class DbtCloudJobRunTimedOut(DbtCloudException):
    """
    Raised when a triggered job run does not complete in the configured max
    wait seconds
    """

DbtCloudJobRunTriggerFailed

Bases: DbtCloudException

Raised when a dbt Cloud job trigger fails.

Source code in prefect_dbt/cloud/exceptions.py
32
33
class DbtCloudJobRunTriggerFailed(DbtCloudException):
    """Raised when a dbt Cloud job trigger fails."""

DbtCloudListRunArtifactsFailed

Bases: DbtCloudException

Raised when unable to list dbt Cloud run artifacts

Source code in prefect_dbt/cloud/exceptions.py
 9
10
class DbtCloudListRunArtifactsFailed(DbtCloudException):
    """Raised when unable to list dbt Cloud run artifacts"""