Skip to content

OutputLengthMismatchError

Bases: Exception

Exception raised when the lengths of the input and output container does not match.

Source code in src/safeds/exceptions/_data.py
class OutputLengthMismatchError(Exception):
    """Exception raised when the lengths of the input and output container does not match."""

    def __init__(self, output_info: str):
        super().__init__(f"The length of the output container differs: \n{output_info}")