# ERROR_*

Below are known to Far errors that can be returned by GetLastError function (see FMSG_ERRORTYPE):

Constants from winerror.h | Text from Far*.lng
--- | ---
ERROR_INVALID_FUNCTION | "Incorrect function"
ERROR_BAD_COMMAND, ERROR_CALL_NOT_IMPLEMENTED | "Command not recognized"
ERROR_FILE_NOT_FOUND | "File not found"
ERROR_PATH_NOT_FOUND | "Path not found"
ERROR_TOO_MANY_OPEN_FILES | "Too many open files"
ERROR_ACCESS_DENIED | "Access denied"
ERROR_NOT_ENOUGH_MEMORY, ERROR_OUTOFMEMORY | "Not enough memory"
ERROR_WRITE_PROTECT | "Cannot write to write protected disk"
ERROR_NOT_READY | "The device is not ready"
ERROR_NOT_DOS_DISK | "Disk cannot be accessed"
ERROR_SECTOR_NOT_FOUND | "Sector not found"
ERROR_OUT_OF_PAPER | "The printer is out of paper"
ERROR_WRITE_FAULT | "Write fault error"
ERROR_READ_FAULT | "Read fault error"
ERROR_GEN_FAILURE | "Device general failure"
ERROR_SHARING_VIOLATION, ERROR_LOCK_VIOLATION | "File sharing violation"
ERROR_BAD_NETPATH | "The network path was not found"
ERROR_NETWORK_BUSY | "The network is busy"
ERROR_NETWORK_ACCESS_DENIED | "Network access is denied"
ERROR_NET_WRITE_FAULT | "A write fault occurred on the network"
ERROR_DRIVE_LOCKED | "The disk is in use or locked by another process"
ERROR_ALREADY_EXISTS | "File or folder already exists"
ERROR_BAD_PATHNAME, ERROR_INVALID_NAME | "The specified name is invalid"
ERROR_DISK_FULL, ERROR_HANDLE_DISK_FULL | "Insufficient disk space"
ERROR_DIR_NOT_EMPTY | "The folder is not empty"
ERROR_INTERNET_INCORRECT_USER_NAME | "Incorrect user name"
ERROR_INTERNET_INCORRECT_PASSWORD | "Incorrect password"
ERROR_INTERNET_LOGIN_FAILURE | "Login failure"
ERROR_INTERNET_CONNECTION_ABORTED | "Connection aborted"
ERROR_CANCELLED | "Operation cancelled"
ERROR_NO_NETWORK | "No network present"
ERROR_DEVICE_IN_USE | "Device is in use and cannot be disconnected"
ERROR_OPEN_FILES | "This network connection has open files"
ERROR_ALREADY_ASSIGNED | "The local device name is already in use"
ERROR_DEVICE_ALREADY_REMEMBERED | "The local device is already in the user profile"
ERROR_NOT_LOGGED_ON | "User has not logged on to the network"
ERROR_INVALID_PASSWORD | "The user password is invalid"
ERROR_NO_RECOVERY_POLICY | "There is no valid encryption recovery policy configured for this system"
ERROR_ENCRYPTION_FAILED | "The specified file could not be encrypted"
ERROR_DECRYPTION_FAILED | "The specified file could not be decrypted"
ERROR_FILE_NOT_ENCRYPTED | "The specified file is not encrypted"

See also:
Message