C

<errorcode.h> - Error Handling

The <errorcode.h> header defines error reporting types and helpers. More...

Header: #include <errorcode.h>
Since: QtSafeRenderer 2.1

Types

Functions

const char *errorCodeToString(ErrorCode code)

Detailed Description

The <errorcode.h> header defines error reporting types and helpers.

Type Documentation

errorFunc

void* errorFunc(ErrorCode code, qint64 arg1, qint64 arg2)

Callback type used to report errors, where code identifies the error type, arg1 provides an error-specific value, and arg2 provides an additional value.

For example, when the output CRC verification fails, the callback is invoked with CRCVerificationFailed in code, the item identifier in arg1, and the actual display CRC value in arg2.

Function Documentation

const char *errorCodeToString(ErrorCode code)

Returns a human-readable name for the given code.

Available under certain Qt licenses.
Find out more.