Fix Unexpected error for 1453 on Windows (#23729)

This commit is contained in:
psbob 2025-04-30 23:48:16 +01:00 committed by Alex Rønne Petersen
parent 8a5f834240
commit 8717453208
No known key found for this signature in database

View file

@ -687,6 +687,7 @@ pub fn WriteFile(
.INVALID_HANDLE => return error.NotOpenForWriting,
.LOCK_VIOLATION => return error.LockViolation,
.NETNAME_DELETED => return error.ConnectionResetByPeer,
.WORKING_SET_QUOTA => return error.SystemResources,
else => |err| return unexpectedError(err),
}
}