ucSetError

 

See Also: Error Handling, ucError, ucErrorMessage, ucRaiseError

 

Raises an error in a callback routine.

 

ucError(ErrorNumber [,tHandle])

 

Parameters

ErrorNumber

Required.  This number corresponds with the error you want to raise.  It can be either a user-configured numerical value greater than 100, or one of the pre-defined error constants.

 

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 raise the error in.  If no thread is specified, the default thread is implied.

 

Remarks

 

 

New or enhanced in version 2.96