Previous - sysDriveInfo Section Home - File System Next - Images


sysErr ( )

Retrieves a string message for detailed information on the last error

Usage:

sysErr (object me )

Parameters:

None

Returns:

(string) - Detailed error description provided by the operating system

Example:

xtRose = xtra("Rosetta").new( )
If ( xtRose.sysFileCopy( "c:\windows\winnt256.bmp", "c:\test.bmp", 2 ) < 1 ) Then
  alert xtRose.sysErr( )
End If

Notes:

The detailed error is provided by the operating system, and provides insights into why the last operation failed. Please note that not all failures are recorded with the operating system. As an example, using an invalid path is caught by Rosetta's internal error checking.

See Also:

Error Codes


Previous - sysDriveInfo Section Home - File System Next - Images