Skip to content

FileExtensionError

Bases: SafeDsError, ValueError

Raised when a path has the wrong file extension.

Source code in src/safeds/exceptions/__init__.py
class FileExtensionError(SafeDsError, ValueError):
    """Raised when a path has the wrong file extension."""