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: “filename:line:column: error: description”