JCL Help:RaiseLastOSError

From Project JEDI Wiki
Jump to navigationJump to search


Summary

Raises an exception for the last occurring OS or system library error.


Pascal

 procedure RaiseLastOSError;


Description

Call RaiseLastOSError to raise an EWin32Error exception for the last OS API call that failed. RaiseLastOSError retrieves the code for the last occurring API call error, if any. If this belongs to a previously occurring error, RaiseLastOSError raises an EWin32Error exception with the error code and message associated with that error. This routine is provided for backwards compatibility.


About

Unit

JclBase


Donator

Team JCL


Contribute to this help topic

This documentation wiki is based on the collaborative effort of Project JEDI users. Your edits are welcome in order to improve documentation quality: edit this page