[Overview][Constants][Types][Classes][Procedures and functions][Variables] |
Raise an exception with the last Operating System error code.
Source position: osutilsh.inc line 20
procedure RaiseLastOSError; |
RaiseLastOSErrorraises an EOSErrorexception with the error code returned by GetLastOSError. If the Error code is nonzero, then the corresponding error message will be returned. If the error code is zero, a standard message will be returned.
This procedure may not be implemented on all platforms. If it is not, then a normal Exceptionwill be raised.
|
Operating system error. |
|
|
Return the last code from the OS. |
|
|
Base class of all exceptions. |