QScxmlError¶
The
QScxmlError
class describes the errors returned by the Qt SCXML state machine when parsing an SCXML file. More…

Synopsis¶
Detailed Description¶
See also
-
class
QScxmlError
¶ QScxmlError(arg__1)
QScxmlError(fileName, line, column, description)
- param column
int
- param arg__1
- param fileName
unicode
- param line
int
- param description
unicode
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 thefileName
,line
, andcolumn
where the error occurred.
-
PySide2.QtScxml.QScxmlError.
column
()¶ - Return type
int
Returns the column in which the error occurred.
-
PySide2.QtScxml.QScxmlError.
description
()¶ - Return type
unicode
Returns the error message.
-
PySide2.QtScxml.QScxmlError.
fileName
()¶ - Return type
unicode
Returns the name of the file in which the error occurred.
-
PySide2.QtScxml.QScxmlError.
isValid
()¶ - Return type
bool
Returns
true
if the error is valid,false
otherwise. An invalid error can only be created by calling the default constructor or by assigning an invalid error.
-
PySide2.QtScxml.QScxmlError.
line
()¶ - Return type
int
Returns the line on which the error occurred.
-
PySide2.QtScxml.QScxmlError.
toString
()¶ - Return type
unicode
This convenience method converts an error to a string. Returns the error message formatted as: “filename:line:column: error: description”
© 2020 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.