Skip to content

Exceptions

This module provides custom exceptions.

ClusterTagNotFoundException

Bases: Exception

Exception for missing required cluster tags.

This exception is raised when a cluster tag is missing.

Source code in blipdataforge/exceptions.py
class ClusterTagNotFoundException(Exception):
    """Exception for missing required cluster tags.

    This exception is raised when a cluster tag is missing.
    """
    def __init__(self, message: str):
        """Default __init__ from an exception."""
        super().__init__(message)

__init__(message)

Default init from an exception.

Source code in blipdataforge/exceptions.py
def __init__(self, message: str):
    """Default __init__ from an exception."""
    super().__init__(message)

DataContractNotFoundException

Bases: Exception

Exception for when a data contract was not found.

This exception is raised when a data contract is requested to the API but the API responded with 404.

Source code in blipdataforge/exceptions.py
class DataContractNotFoundException(Exception):
    """Exception for when a data contract was not found.

    This exception is raised when a data contract is requested to the API
    but the API responded with 404.
    """
    def __init__(self, message: str):
        """Default __init__ from an exception."""
        super().__init__(message)

__init__(message)

Default init from an exception.

Source code in blipdataforge/exceptions.py
def __init__(self, message: str):
    """Default __init__ from an exception."""
    super().__init__(message)

DeleteNotAllowedException

Bases: Exception

Exception for missing required cluster tags.

This exception is raised when delete operation is blocked for some reason.

Source code in blipdataforge/exceptions.py
class DeleteNotAllowedException(Exception):
    """Exception for missing required cluster tags.

    This exception is raised when delete operation is blocked for some reason.
    """
    def __init__(self, message: str):
        """Default __init__ from an exception."""
        super().__init__(message)

__init__(message)

Default init from an exception.

Source code in blipdataforge/exceptions.py
def __init__(self, message: str):
    """Default __init__ from an exception."""
    super().__init__(message)

DomainNotAllowedException

Bases: Exception

Exception for when the execution is in the wrong domain.

This exception is raised when a function or class is called in a domain where its execution is not allowed.

Source code in blipdataforge/exceptions.py
class DomainNotAllowedException(Exception):
    """Exception for when the execution is in the wrong domain.

    This exception is raised when a function or class is called in a domain
    where its execution is not allowed.
    """
    def __init__(self, message: str):
        """Default __init__ from an exception."""
        super().__init__(message)

__init__(message)

Default init from an exception.

Source code in blipdataforge/exceptions.py
def __init__(self, message: str):
    """Default __init__ from an exception."""
    super().__init__(message)

MalformedDatasetNameException

Bases: Exception

Exception for malformed dataset name on quality check string.

This exception is raised when a quality check string contains a dataset name which does not follow the right pattern catalog.database.table.

Source code in blipdataforge/exceptions.py
class MalformedDatasetNameException(Exception):
    """Exception for malformed dataset name on quality check string.

    This exception is raised when a quality check string contains a dataset
    name which does not follow the right pattern `catalog.database.table`.
    """
    def __init__(self, message: str):
        """Default __init__ from an exception."""
        super().__init__(message)

__init__(message)

Default init from an exception.

Source code in blipdataforge/exceptions.py
def __init__(self, message: str):
    """Default __init__ from an exception."""
    super().__init__(message)

ParsingFailure

Bases: Exception

Exception for failure in parsing processes.

This exception is raised when a parser is unable to parse a value.

Source code in blipdataforge/exceptions.py
class ParsingFailure(Exception):
    """Exception for failure in parsing processes.

    This exception is raised when a parser is unable to parse
    a value.
    """
    def __init__(self, message: str):
        """Default __init__ from an exception."""
        super().__init__(message)

__init__(message)

Default init from an exception.

Source code in blipdataforge/exceptions.py
def __init__(self, message: str):
    """Default __init__ from an exception."""
    super().__init__(message)