Foundation (OpticalFlow.dll) 14.0
Error Handling Functions

Functions

const char * OptFlowGetErrorMessage (void)
 Retrieves the error-message of the most recent error that occurred. More...
 

Detailed Description

Function Documentation

◆ OptFlowGetErrorMessage()

const char * OptFlowGetErrorMessage ( void  )

Retrieves the error-message of the most recent error that occurred.

This function should be called directly after a function has returned an error

Attention
The pointer returned by this function will be invalidated
to copy the returned string immediately. Use of this function in a multi threaded application is strongly discouraged as the returned pointer might be invalidated by an asynchronous operation, potentially rendering it invalid while the content it refers to is still being accessed.
Returns
Pointer to a string with the most recent error message.