adp.delivery.exceptions

Defines exceptions for the adp.delivery package

Exceptions

AdditionalColumnsError

Thrown when additional columns are available in dataset and this is not explicitly allowed

ColumnNotNullableError

Thrown when a column is not nullable and contains a null value

ColumnTypeMismatchError

Thrown when the column type does not match the metadata specification, and casting or ignoring is turned off

DataTypeNotValid(message)

Exception raised when specified datatype is not valid in ingest

ForeignKeyNotFound

Thrown during validation when a foreign key relation is not found in the foreign table

MissingColumnsError

Thrown when dataframe misses columns and column recreation it turned off

NotebookException

Exception raised when notebook raises an error

PowerBIDatatypeNotFoundError

Thrown during validation when a foreign key relation is not found in the foreign table

PreviousRunDidNotFinishCorrectly(message)

Thrown when the previous job run did not finish correctly

RecreateNonNullableColumnError

Thrown when the framework should add an empty column, but the column is nullable (which is a contradiction)

RollbackTableNotFoundError(message)

Thrown when the run table is not found during a job run

RunTableNotFoundError(message)

Thrown when the run table is not found during a job run

TableNotAvailableError

Thrown when referenced table is not available and cannot be recreated

ValidationError

Thrown when YAML cannot be verified