QScxmlError露

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

Inheritance diagram of PySide2.QtScxml.QScxmlError

Synopsis露

Functions露

Detailed Description露

class PySide2.QtScxml.QScxmlError露

PySide2.QtScxml.QScxmlError(arg__1)

PySide2.QtScxml.QScxmlError(fileName, line, column, description)

param column:

int

param arg__1:

PySide2.QtScxml.QScxmlError

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 the fileName , line , and column 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: 鈥渇ilename:line:column: error: description鈥�