Source code for delphin.tdl._exceptions

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


[docs] class TDLError(PyDelphinException): """Raised when there is an error in processing TDL."""
[docs] class TDLSyntaxError(PyDelphinSyntaxError): """Raised when parsing TDL text fails."""
[docs] class TDLWarning(PyDelphinWarning): """Raised when parsing unsupported TDL features."""