Source code for delphin.mrs._exceptions


from delphin.exceptions import PyDelphinException, PyDelphinSyntaxError


[docs] class MRSError(PyDelphinException): """Raises on invalid MRS operations."""
[docs] class MRSSyntaxError(PyDelphinSyntaxError): """Raised when an invalid MRS serialization is encountered."""