errors¶
Exceptions and warnings for the tripper.datadoc package.
DatadocValueError (InvalidDatadocError, ValueError)
¶
Invalid/inconsistent value (of correct type).
Source code in tripper/datadoc/errors.py
class DatadocValueError(InvalidDatadocError, ValueError):
"""Invalid/inconsistent value (of correct type)."""
IRIExistsError (TripperError)
¶
The IRI already exists in the triplestore.
Source code in tripper/datadoc/errors.py
class IRIExistsError(TripperError):
"""The IRI already exists in the triplestore."""
IRIExistsWarning (TripperWarning)
¶
The IRI already exists in the triplestore.
Source code in tripper/datadoc/errors.py
class IRIExistsWarning(TripperWarning):
"""The IRI already exists in the triplestore."""
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 (InvalidDatadocError, KeyError)
¶
Keyword is not defined.
Source code in tripper/datadoc/errors.py
class InvalidKeywordError(InvalidDatadocError, KeyError): # remove?
"""Keyword is not defined."""
MissingKeyError (InvalidDatadocError, KeyError)
¶
Missing required key in description of a resource or keyword.
Source code in tripper/datadoc/errors.py
class MissingKeyError(InvalidDatadocError, KeyError):
"""Missing required key in description of a resource or keyword."""
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."""
ParseError (TripperError)
¶
Error when parsing a file.
Source code in tripper/datadoc/errors.py
class ParseError(TripperError):
"""Error when parsing a file."""
PrefixMismatchError (TripperError)
¶
Prefix mismatch between two sources.
Source code in tripper/datadoc/errors.py
class PrefixMismatchError(TripperError):
"""Prefix mismatch between two sources."""
RedefineError (TripperWarning)
¶
Trying to redefine an existing concept or keyword.
Source code in tripper/datadoc/errors.py
class RedefineError(TripperWarning):
"""Trying to redefine an existing concept or keyword."""
RedefineKeywordWarning (TripperWarning)
¶
Redefine an existing keyword (by mapping it to a new IRI).
Source code in tripper/datadoc/errors.py
class RedefineKeywordWarning(TripperWarning):
"""Redefine an existing keyword (by mapping it to a new IRI)."""
SkipRedefineKeywordWarning (TripperWarning)
¶
Skip redefining an existing keyword in a user-defined keyword definition (by mapping it to a new IRI).
Source code in tripper/datadoc/errors.py
class SkipRedefineKeywordWarning(TripperWarning):
"""Skip redefining an existing keyword in a user-defined keyword
definition (by mapping it to a new IRI)."""
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."""