Source code for delphin.dmrs._exceptions


from delphin.exceptions import PyDelphinException, PyDelphinSyntaxError


class DMRSError(PyDelphinException):
    """Raises on invalid DMRS operations."""


[docs]class DMRSSyntaxError(PyDelphinSyntaxError): """Raised when an invalid DMRS serialization is encountered."""