"""
Exceptions
"""

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


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

"""
Exceptions
"""

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


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

Exceptions Exception returned when the input syntax is not expected Exception returned when the input syntax is not expected