Share this page

# RTE Error Codes

Many of the RTE Vuser functions return error codes on failure and set the TE_errno global variable. You can translate the error code into the corresponding string using two functions: TE_sperror and TE_perror.

RTE script can return one of the following error codes:

Error Code | Return Code Name | Meaning
0 | TE_SUCCESS | Operation successful.
-1 | TE_BUSY | RTEGate is busy.
-2 | TE_BAD_ARG | An illegal argument was passed to the function.
-3 | TE_TIMEOUT | The timeout expired.
-4 | TE_BAD_REGEXP | An illegal Regular Expressions was passed to the function.
-5 | TE_COMM_ERROR | A communication problem with the terminal emulator occurred.
-6 | TE_NO_SELECTION | No text selected.
-7 | TE_APPLICATION_GONE | The session has terminated.
-8 | TE_READ_ONLY | Attempt to set read only attribute.
-9 | TE_PARAM_ERROR | Parameterization error.
-10 | TE_KEYS_LOCKED | Keyboard locked.
-11 | TE_CANT_CONNECT | Unable to connect to host.

Tips to improve your search results... VuGen Function Reference Version 26.1-26.3 Function Reference 26.1-26.3 All View Local Help Center View Online Help Center Version: