Back to Prefect

exceptions

docs/integrations/prefect-dbt/api-ref/prefect_dbt-cloud-exceptions.mdx

3.6.30.dev33.5 KB
Original Source

prefect_dbt.cloud.exceptions

Classes

DbtCloudException <sup><a href="https://github.com/PrefectHQ/prefect/blob/main/src/integrations/prefect-dbt/prefect_dbt/cloud/exceptions.py#L1" target="_blank"><Icon icon="github" style="width: 14px; height: 14px;" /></a></sup>

Base class for dbt Cloud exceptions

DbtCloudGetRunFailed <sup><a href="https://github.com/PrefectHQ/prefect/blob/main/src/integrations/prefect-dbt/prefect_dbt/cloud/exceptions.py#L5" target="_blank"><Icon icon="github" style="width: 14px; height: 14px;" /></a></sup>

Raised when unable to retrieve dbt Cloud run

DbtCloudListRunArtifactsFailed <sup><a href="https://github.com/PrefectHQ/prefect/blob/main/src/integrations/prefect-dbt/prefect_dbt/cloud/exceptions.py#L9" target="_blank"><Icon icon="github" style="width: 14px; height: 14px;" /></a></sup>

Raised when unable to list dbt Cloud run artifacts

DbtCloudGetRunArtifactFailed <sup><a href="https://github.com/PrefectHQ/prefect/blob/main/src/integrations/prefect-dbt/prefect_dbt/cloud/exceptions.py#L13" target="_blank"><Icon icon="github" style="width: 14px; height: 14px;" /></a></sup>

Raised when unable to get a dbt Cloud run artifact

DbtCloudJobRunFailed <sup><a href="https://github.com/PrefectHQ/prefect/blob/main/src/integrations/prefect-dbt/prefect_dbt/cloud/exceptions.py#L17" target="_blank"><Icon icon="github" style="width: 14px; height: 14px;" /></a></sup>

Raised when a triggered job run fails

DbtCloudJobRunCancelled <sup><a href="https://github.com/PrefectHQ/prefect/blob/main/src/integrations/prefect-dbt/prefect_dbt/cloud/exceptions.py#L21" target="_blank"><Icon icon="github" style="width: 14px; height: 14px;" /></a></sup>

Raised when a triggered job run is cancelled

DbtCloudJobRunTimedOut <sup><a href="https://github.com/PrefectHQ/prefect/blob/main/src/integrations/prefect-dbt/prefect_dbt/cloud/exceptions.py#L25" target="_blank"><Icon icon="github" style="width: 14px; height: 14px;" /></a></sup>

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

DbtCloudJobRunTriggerFailed <sup><a href="https://github.com/PrefectHQ/prefect/blob/main/src/integrations/prefect-dbt/prefect_dbt/cloud/exceptions.py#L32" target="_blank"><Icon icon="github" style="width: 14px; height: 14px;" /></a></sup>

Raised when a dbt Cloud job trigger fails.

DbtCloudGetJobFailed <sup><a href="https://github.com/PrefectHQ/prefect/blob/main/src/integrations/prefect-dbt/prefect_dbt/cloud/exceptions.py#L36" target="_blank"><Icon icon="github" style="width: 14px; height: 14px;" /></a></sup>

Raised when unable to retrieve dbt Cloud job.

DbtCloudJobRunIncomplete <sup><a href="https://github.com/PrefectHQ/prefect/blob/main/src/integrations/prefect-dbt/prefect_dbt/cloud/exceptions.py#L40" target="_blank"><Icon icon="github" style="width: 14px; height: 14px;" /></a></sup>

Raised when a triggered job run is not complete.

DbtCloudCreateJobFailed <sup><a href="https://github.com/PrefectHQ/prefect/blob/main/src/integrations/prefect-dbt/prefect_dbt/cloud/exceptions.py#L44" target="_blank"><Icon icon="github" style="width: 14px; height: 14px;" /></a></sup>

Raised when unable to create a dbt Cloud job.

DbtCloudDeleteJobFailed <sup><a href="https://github.com/PrefectHQ/prefect/blob/main/src/integrations/prefect-dbt/prefect_dbt/cloud/exceptions.py#L48" target="_blank"><Icon icon="github" style="width: 14px; height: 14px;" /></a></sup>

Raised when unable to delete a dbt Cloud job.