Returns the current value of the ctypes-private copy of the system LastError variable in the calling thread.
ctypes/get_last_error
get_last_error