PURPOSE

tperrordetail - get additional detail about an error generated from the last TUXEDO call

SYNOPSIS

#include 

int tperrordetail(long flags)

DESCRIPTION

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.

RETURN VALUES

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.

[TPED_SVCTIMEOUT]
A server was terminated due to a service timeout.
The service timeout is controlled by the value of SVCTIMEOUT in the ubbconfigTA_SVCTIMEOUT in the classes T_SERVER and T_SERVICE described in TM_MIB(5)

ERRORS

Under the following conditions, tperrordetail fails and sets tperrno to

[TPEINVAL]
flags not set to zero.

SEE ALSO

intro(3c),
tpstrerrordetail(3c),
tperrno(5)