ucError
See Also: ucErrorMessage, Error Handling
Returns the error number of the most recent transaction.
ucError([tHandle])
Parameters
tHandle
Optional. Each thread has its own definitions, and keeps separate track of its errors. By specifying this argument, you can select which thread to check for an error. If no thread is specified, the default thread is implied.
Remarks
ucError is carried over from version 2.0 of uCalc. In this version, the preferred method of handling errors is to set up an error handling callback routine, which will handle errors wherever they may occur, instead of peppering lines with ucError throughout your code.