QScxmlError#

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

Synopsis#

Functions#

Detailed Description#

class PySide6.QtScxml.QScxmlError#

PySide6.QtScxml.QScxmlError(arg__1)

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

Parameters

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”