Skip to content

errors

Exceptions and warnings for the triplestore package.

ArgumentTypeError (TripperError, TypeError)

Invalid argument type.

Source code in tripper/errors.py
class ArgumentTypeError(TripperError, TypeError):
    """Invalid argument type."""

ArgumentValueError (TripperError, ValueError)

Invalid argument value (of correct type).

Source code in tripper/errors.py
class ArgumentValueError(TripperError, ValueError):
    """Invalid argument value (of correct type)."""

CannotGetFunctionError (TripperError)

Not able to get function documented in the triplestore.

Source code in tripper/errors.py
class CannotGetFunctionError(TripperError):
    """Not able to get function documented in the triplestore."""

NamespaceError (TripperError)

Namespace error.

Source code in tripper/errors.py
class NamespaceError(TripperError):
    """Namespace error."""

NoSuchIRIError (NamespaceError)

Namespace has no such IRI.

Source code in tripper/errors.py
class NoSuchIRIError(NamespaceError):
    """Namespace has no such IRI."""

TripperError (Exception)

Base exception for tripper errors.

Source code in tripper/errors.py
class TripperError(Exception):
    """Base exception for tripper errors."""

TripperWarning (Warning)

Base class for tripper warnings.

Source code in tripper/errors.py
class TripperWarning(Warning):
    """Base class for tripper warnings."""

UniquenessError (TripperError)

More than one matching triple.

Source code in tripper/errors.py
class UniquenessError(TripperError):
    """More than one matching triple."""

UnknownDatatypeWarning (TripperWarning)

Unknown datatype.

Source code in tripper/errors.py
class UnknownDatatypeWarning(TripperWarning):
    """Unknown datatype."""

UnusedArgumentWarning (TripperWarning)

Argument is unused.

Source code in tripper/errors.py
class UnusedArgumentWarning(TripperWarning):
    """Argument is unused."""