Skip to content

Exceptions

Exceptions

The exceptions raised by etlrules. They are available from the top level etlrules package, e.g. from etlrules import MissingColumnError.

exceptions

MissingColumnError

An operation is being applied to a column that is not present in the input data frame.

UnsupportedTypeError

A type conversion is attempted to a type that is not supported.

ColumnAlreadyExistsError

An attempt to create a column that already exists in the dataframe.

ExpressionSyntaxError

A Python expression used to create a column, aggregate or other operations has a syntax error.

SchemaError

An operation needs a certain schema for the dataframe which is not present.

InvalidPlanError

The plan failed validation.

GraphRuntimeError

There was an error when running a graph-mode plan.

SQLError

There was an error during the execution of a sql statement.

ValidationError

The data failed a validation rule (e.g. AssertNotNullRule or AssertUniqueRule).