from .provapi import ProvDbException
[docs]class ConverterException(ProvDbException):
"""
Base exception class for document converter.
"""
pass
[docs]class ParseException(ConverterException):
"""
Thrown, if a given statement could not ne parsed.
"""
pass
[docs]class NoDocumentException(ConverterException):
"""
Thrown, if no document argument is passed.
"""
pass
[docs]class SerializerException(ProvDbException):
"""
Base exception class for serializer.
"""
pass
[docs]class ValidatorException(ProvDbException):
"""
Base exception class for validator.
"""
pass