Skip to content

Exceptions

Package defining all the io custom exceptions.

EndpointNotFoundException

Bases: Exception

Exception for when the endpoint is not found by the Graph API.

Source code in mkdocs/lakehouse_engine/packages/io/exceptions.py
class EndpointNotFoundException(Exception):
    """Exception for when the endpoint is not found by the Graph API."""

    pass

IncrementalFilterInputNotFoundException

Bases: Exception

Exception for when the input of an incremental filter is not found.

This may occur when tables are being loaded in incremental way, taking the increment definition out of a specific table, but the table still does not exist, mainly because probably it was not loaded for the first time yet.

Source code in mkdocs/lakehouse_engine/packages/io/exceptions.py
class IncrementalFilterInputNotFoundException(Exception):
    """Exception for when the input of an incremental filter is not found.

    This may occur when tables are being loaded in incremental way, taking the increment
    definition out of a specific table, but the table still does not exist, mainly
    because probably it was not loaded for the first time yet.
    """

    pass

InputNotFoundException

Bases: Exception

Exception for when a user does not provide a mandatory input.

Source code in mkdocs/lakehouse_engine/packages/io/exceptions.py
class InputNotFoundException(Exception):
    """Exception for when a user does not provide a mandatory input."""

    pass

LocalPathNotFoundException

Bases: Exception

Exception for when a local path is not found.

Source code in mkdocs/lakehouse_engine/packages/io/exceptions.py
class LocalPathNotFoundException(Exception):
    """Exception for when a local path is not found."""

    pass

NotSupportedException

Bases: RuntimeError

Exception for when a user provides a not supported operation.

Source code in mkdocs/lakehouse_engine/packages/io/exceptions.py
class NotSupportedException(RuntimeError):
    """Exception for when a user provides a not supported operation."""

    pass

SharePointAPIError

Bases: Exception

Custom exception class to handle errors SharePoint API requests.

Source code in mkdocs/lakehouse_engine/packages/io/exceptions.py
class SharePointAPIError(Exception):
    """Custom exception class to handle errors SharePoint API requests."""

    pass

WriteToLocalException

Bases: Exception

Exception for when an error occurs when trying to write to the local path.

Source code in mkdocs/lakehouse_engine/packages/io/exceptions.py
class WriteToLocalException(Exception):
    """Exception for when an error occurs when trying to write to the local path."""

    pass

WrongIOFormatException

Bases: Exception

Exception for when a user provides a wrong I/O format.

Source code in mkdocs/lakehouse_engine/packages/io/exceptions.py
class WrongIOFormatException(Exception):
    """Exception for when a user provides a wrong I/O format."""

    pass