Raise an exception with the last Operating System error code.
Source position: osutilsh.inc line 23
procedure RaiseLastOSError; overload; |
LastError: Integer |
); overload; |
RaiseLastOSError raises an EOSError exception 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 Exception will be raised.
|
Operating system error. |
|
|
Return the last code from the OS. |
|
|
Base class of all exceptions. |