VOPT_HANDLE_ERROR changed to function.