Sets the callback to be invoked when an error occurs.
public static void SetErrorCallback( ul_cpp_error_callback_fn callback, void * userData )
callback The callback function.
userData User context information passed to the callback.
This method is not thread-safe.