Programming Guide


Reports an error

#include <tmusubs.h>
void sm_tm_msg_error(char *caller_id, int msg);

A string used for identification; in Panther transactions models this is set to the module name followed by the function name where the event was triggered.

Identifies an error message.


sm_tm_msg_error reports an ERROR severity error to the transaction manager error processor. The error text includes the name of the function where the error occurred identified by caller_id and the message text string corresponding to msg, obtained by a call to sm_msg_get.

If msg is DM_TM_ALREADY or 0, this function does nothing.

See Also

sm_tm_error, sm_tm_msg_emsg, sm_tm_msg_count_error