In QtScxml.pyi QScxmlStateMachine class:
def parseErrors(self) -> PySide2.QtScxml.QScxmlError: ...
But in fact parseErrors returns list of QScxmlError.