Unit 'sysutils' Package
[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] [#rtl]

CheckOSError (platform)

Check for OS error and raise exception.

Declaration

Source position: osutilsh.inc line 25

procedure CheckOSError(

  LastError: Integer

);

Description

CheckOSError checks if LastError is non-zero and calls RaiseLastOSError if this is the case.

See also

RaiseLastOSError

  

Raise an exception with the last Operating System error code.


Documentation generated on: Nov 23 2024