This section describes the errors that can occur during file handling; that is, while opening, closing, or accessing files.
5002 - Requested access to file not permitted
5003 - Requested file not found
5004 - File read operation incomplete
5005 - File write operation incomplete
5006 - Cannot set file pointer
5007 - Required file is not currently open
5008 - Cannot overwrite existing file
5009 - Cannot read past the end of file
5010 - Read-write operation conflicts with file mode
5011 - Record truncated to maxRecordSize characters
5012 - Unicode to Ansi conversion failed
5013 - Ansi to Unicode conversion failed
5014 - Cannot rename a file to a different device
5015 - Attempt to rename a file failed
5016 - Attempt to delete a file failed
5017 - Cannot perform a binary read on a file opened as text
5018 - Cannot perform a binary write on a file opened as text
5019 - Cannot perform a string read on a file opened as binary
5020 - Cannot perform a string write on a file opened as binary
5021 - Cannot open a file with an invalid kind property
5022 - File cannot be opened as Unicode as it contains an odd number of bytes
5023 - Directory with the specified name could not be created
5024 - Requested file directory was not found
5025 - Specified directory could not be removed
5027 - Requested file directory name is not valid
5028 - Requested file directory not found
5029 - File name not valid for file system
5030 - File is in use by another process
5031 - A file write encountered an out of disk condition
5032 - Error encountered closing file
5033 - An unexpected I-O error occurred accessing file
5034 - Attempt to copy a file failed
5035 - Cannot access a file opened by a different Node
5036 - Cannot open file, the kind property is different to actual file kind
5038 - Unicode UTF8 file contains illegal byte sequence
5039 - Unicode UTF8 file kind not supported