Skip to content

errors

Exceptions and warnings for the tripper.datadoc package.

InvalidContextError (TripperError)

Context is invalid.

Source code in tripper/datadoc/errors.py
class InvalidContextError(TripperError):
    """Context is invalid."""

InvalidDatadocError (TripperError)

Invalid data documentation dict (or list).

Source code in tripper/datadoc/errors.py
class InvalidDatadocError(TripperError):
    """Invalid data documentation dict (or list)."""

InvalidKeywordError (TripperError, KeyError)

Keyword is not defined.

Source code in tripper/datadoc/errors.py
class InvalidKeywordError(TripperError, KeyError):
    """Keyword is not defined."""

MissingKeywordsClassWarning (UnknownKeywordWarning)

A class is referred to that is not defined in a keywords file.

Source code in tripper/datadoc/errors.py
class MissingKeywordsClassWarning(UnknownKeywordWarning):
    """A class is referred to that is not defined in a keywords file."""

NoSuchTypeError (TripperError, KeyError)

There are no pre-defined type defined with the given name.

Source code in tripper/datadoc/errors.py
class NoSuchTypeError(TripperError, KeyError):
    """There are no pre-defined type defined with the given name."""

PrefixMismatchError (TripperError)

Prefix mismatch between two sources.

Source code in tripper/datadoc/errors.py
class PrefixMismatchError(TripperError):
    """Prefix mismatch between two sources."""

UnknownKeywordWarning (TripperWarning)

Unknown keyword in data documentation.

Source code in tripper/datadoc/errors.py
class UnknownKeywordWarning(TripperWarning):
    """Unknown keyword in data documentation."""

ValidateError (TripperError)

Error validating data documentation dict.

Source code in tripper/datadoc/errors.py
class ValidateError(TripperError):
    """Error validating data documentation dict."""