Skip to content

ColumnLengthMismatchError

Bases: ValueError

Exception raised when the lengths of two or more columns do not match.

Source code in src/safeds/exceptions/_data.py
class ColumnLengthMismatchError(ValueError):
    """Exception raised when the lengths of two or more columns do not match."""

    def __init__(self, column_info: str):
        super().__init__(f"The length of at least one column differs: \n{column_info}")