PySide6.QtCore.QCborParserError

class QCborParserError

The QCborParserError is used by QCborValue to report a parsing error.

Details

This class is used by fromCbor(const QByteArray &ba, QCborParserError *error) to report a parser error and the byte offset where the error was detected.

Synopsis

Methods

Note

This documentation may contain snippets that were automatically translated from C++ to Python. We always welcome contributions to the snippet translation. If you see an issue with the translation, you can also let us know by creating a ticket on https:/bugreports.qt.io/projects/PYSIDE

PySide6.QtCore.QCborParserError.offset
PySide6.QtCore.QCborParserError.error
errorString()
Return type:

str

Returns a string representation of the error code. This string is not translated.