The QCborParserError
is used by QCborValue
to report a parsing error.
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.
See also
QCborValue
QCborError
Returns a string representation of the error code. This string is not translated.
See also
toString()
fromCbor()
This field contains the error code that indicates what decoding problem was found.
See also
fromCbor()
This field contains the offset from the beginning of the data where the error was detected. The offset should point to the beginning of the item that contained the error, even if the error itself was elsewhere (for example, for UTF-8 decoding issues).
See also
fromCbor()
© 2022 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.