QScxmlError¶
The QScxmlError
class describes the errors returned by the Qt SCXML state machine when parsing an SCXML file. More…
Synopsis¶
Functions¶
Detailed Description¶
See also
- class PySide6.QtScxml.QScxmlError¶
PySide6.QtScxml.QScxmlError(arg__1)
PySide6.QtScxml.QScxmlError(fileName, line, column, description)
- Parameters
description – str
fileName – str
line – int
column – int
arg__1 –
PySide6.QtScxml.QScxmlError
Creates a new invalid SCXML error.
Constructs a copy of other
.
Creates a new valid SCXML error that contains the error message, description
, as well as the fileName
, line
, and column
where the error occurred.
- PySide6.QtScxml.QScxmlError.column()¶
- Return type
int
This property holds The column number in which the SCXML error occurred..
- PySide6.QtScxml.QScxmlError.description()¶
- Return type
str
This property holds A description of the SCXML error..
- PySide6.QtScxml.QScxmlError.fileName()¶
- Return type
str
This property holds The name of the file in which the SCXML error occurred..
- PySide6.QtScxml.QScxmlError.isValid()¶
- Return type
bool
This property holds Whether the SCXML error is valid..
- PySide6.QtScxml.QScxmlError.line()¶
- Return type
int
This property holds The line number on which the SCXML error occurred..
- PySide6.QtScxml.QScxmlError.toString()¶
- Return type
str
This convenience method converts an error to a string. Returns the error message formatted as: “filename:line:column: error: description”
© 2022 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.