QCborParserError Class

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

Header: #include <QCborParserError>
qmake: QT += core
Since: Qt 5.12

Note: All functions in this class are reentrant.

Public Functions

QString errorString() const

Public Variables

QCborError error
qint64 offset

Detailed Description

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

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

See also QCborValue and QCborError.

Member Type Documentation

Property Documentation

Member Function Documentation

QString QCborParserError::errorString() const

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

See also QCborError::toString() and QCborValue::fromCbor().

Member Variable Documentation

Related Non-Members

Macro Documentation