﻿id	summary	reporter	owner	description	type	status	milestone	component	version	severity	resolution	keywords	cc
2483	"DriveGetDrive - different error for ""improper drive type"" versus ""none found"""	mrider		"Greetings:

This is a small thing - but it seems to me that returning a different @error for an improper type in DriveGetDrive as opposed to you don't have any of those would be helpful.

So for example, the following might set @error = 1 (assume I have no ""NETWORK"" drives):

Local $drives = DriveGetDrive(""NETWORK"")



Whereas the following might set @error = 2

Local $drives = DriveGetDrive(""NETOWRK"")  (note the spelling)


This would greatly simplify handling the difference between ""you don't happen to have any of those"", versus ""nobody can EVER have any of those because the type is wrong"".


See the following thread for where I initially asked about this and why I concluded that adding another @error value might be best.

[http://www.autoitscript.com/forum/topic/154845-drivegetdrive-api-error-for-proper-type-why/]

Thank you for your consideration..."	Feature Request	closed		AutoIt		None	Rejected		
