tperrordetail - get additional detail about an error generated from the last TUXEDO call
#include
int tperrordetail(long flags)
tperrordetail() returns additional detail related to an error produced by the last TUXEDO routine called in the current thread. tperrordetail returns a numeric value that is also represented by a symbolic name. If the last TUXEDO routine called in the current thread did not produce an error, then tperrordetail will return zero. Therefore, tperrordetail should be called after an error has been indicated; that is, when tperrno has been set.
Currently flags is reserved for future use and must be set to 0.
tperrordetail returns -1 on error and sets tperrno to indicate the error condition.
These are the symbolic names and meanings for each numeric value that tperrordetail may return. The order in which these are listed is not significant and does not imply precedence.
Under the following conditions, tperrordetail fails and sets tperrno to