QCborParserError

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

Inheritance diagram of PySide2.QtCore.QCborParserError

New in version 5.12.

Synopsis

Functions

Detailed Description

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.

class QCborParserError

QCborParserError(QCborParserError)

Parameters

QCborParserErrorQCborParserError

PySide2.QtCore.QCborParserError.offset
PySide2.QtCore.QCborParserError.error
PySide2.QtCore.QCborParserError.errorString()
Return type

unicode

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