Source code for delphin.dmrs._exceptions


from delphin.exceptions import (
    PyDelphinException,
    PyDelphinSyntaxError,
    PyDelphinWarning,
)


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


[docs] class DMRSSyntaxError(PyDelphinSyntaxError): """Raised when an invalid DMRS serialization is encountered."""
[docs] class DMRSWarning(PyDelphinWarning): """Issued when a DMRS may be incorrect or incomplete."""