Set an error code for transaction
MCO_RET mco_trans_set_error(mco_trans_h t, MCO_RET errcode);
t | The transaction handle |
errcode | The new error code |
Sets an error code
Should be invoked from a timer to set MCO_E_INTERRUPTED.
MCO_RET | Previous error code |