This topic describes only module-specific error codes. For details about universal error codes, see Universal Error Codes.
Error Message
The uiContext is invalid.
Description
This error code is reported when an invalid UIContext object is detected.
Possible Causes
The provided UIContext object is invalid.
Solution
Provide a valid UIContext object.
Error Message
The callback function is invalid.
Description
This error code is reported when an invalid callback function is detected.
Possible Causes
The type of callback function is incorrect.
Solution
Pass a non-empty callback function that conforms to the requirements of the API signature.
Error Message
The parameter value cannot be less than 0.
Description
This error code is reported when the provided parameter value falls below the minimum allowed threshold of 0.
Possible Causes
An invalid negative parameter value is provided.
Solution
Pass a parameter value greater than or equal to 0.
Error Message
The parameter value cannot be a floating-point number.
Description
This error code is reported when the API expects integer values but receives floating-point input.
Possible Causes
An integer is required, but a floating-point value is passed.
Solution
Pass integers as required.
Error Message
The function cannot be called from a non-main thread.
Description
This error code is reported when the function is incorrectly called from a non-main thread.
Possible Causes
The function is called from the non-main thread.
Solution
Call the function from the main thread.