RaiseLastOSError procedure
Raise an exception with the last Operating System error code.
Declaration
procedure RaiseLastOSError; overloadDescription
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.Errors
This procedure may not be implemented on all platforms. If it is not, then a normal Exception will be raised.
See also
An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.
