Method lastError.clear
Overload
Calls API SetLastError(0), which clears the Windows API last error code of this thread.
public static void clear()
Remarks
Need it before calling some functions if you want to use lastError.code or lastError.message.
The same as lastError.code = 0;
.