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 PySide2.QtScxml.QScxmlError¶
PySide2.QtScxml.QScxmlError(arg__1)
PySide2.QtScxml.QScxmlError(fileName, line, column, description)
- param column:
int
- param arg__1:
- param fileName:
str
- param line:
int
- param description:
str
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
This property holds The column number in which the SCXML error occurred..
- PySide2.QtScxml.QScxmlError.description()¶
- Return type:
str
This property holds A description of the SCXML error..
- PySide2.QtScxml.QScxmlError.fileName()¶
- Return type:
str
This property holds The name of the file in which the SCXML error occurred..
- PySide2.QtScxml.QScxmlError.isValid()¶
- Return type:
bool
This property holds Whether the SCXML error is valid..
- PySide2.QtScxml.QScxmlError.line()¶
- Return type:
int
This property holds The line number on which the SCXML error occurred..
- PySide2.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.