Returns true if the exception was caused by error with code errorCode on Windows.
true
errorCode
bool isWindowsError(int errorCode) => Platform.isWindows && errorCode == this.osError?.errorCode;