in src/primitives.cpp [13:26]
std::string statusToString(const unsigned int e)
{
if (e == 0) return "OTHER";
if (e == _XBEGIN_STARTED) return "STARTED";
std::string s = "";
if (e & _XABORT_EXPLICIT) s += "EXPLICIT";
if (e & _XABORT_RETRY) s += "RETRY_";
if (e & _XABORT_CONFLICT) s += "CONFLICT";
if (e & _XABORT_CAPACITY) s += "CAPACITY";
if (e & _XABORT_DEBUG) s += "DEBUG";
if (e & _XABORT_NESTED) s += "NESTED";
return s;
}