ColumnNotFoundError ¶
ColumnNotFoundError(
message: str,
*,
column: str,
available: list[str],
path: str = "",
)
Bases: ggrust.errors.DataError
Raised when a mapping refers to a column that is not in the data.
Parameters:
-
message(str) –The full message, listing the available columns and a close match.
-
column(str) –The missing column.
-
available(list of str) –Names of the columns the data has.
-
path(str, default:"") –Spec path of the mapping that names the column, e.g.
"layers[0].mapping.x".