The QCborParserError is used by QCborValue to report a parsing error. More...
Header: | #include <QCborParserError> |
CMake: | find_package(Qt6 REQUIRED COMPONENTS Core) target_link_libraries(mytarget PRIVATE Qt6::Core) |
qmake: | QT += core |
Since: | Qt 5.12 |
Note: All functions in this struct are reentrant.
QString | errorString() const |
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.
Returns a string representation of the error code. This string is not translated.
See also QCborError::toString() and QCborValue::fromCbor().
This field contains the error code that indicates what decoding problem was found.
See also QCborValue::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 QCborValue::fromCbor().
As part of the free Business evaluation, we offer a free welcome call for companies, to talk about your requirements, and how the Felgo SDK & Services can help you. Just sign up and schedule your call.
Sign up now to start your free Business evaluation: