Source code for clingraph.exceptions

"""
Exceptions
"""

[docs]class InvalidSyntax(Exception): """ Exception returned when the input syntax is not expected """ def __init__(self, *args): super().__init__("\n".join(args))
[docs]class InvalidSyntaxJSON(InvalidSyntax): """ Exception returned when the input syntax is not expected """ def __init__(self, *args): super().__init__("\n".join(args))