plugin - compile bug fix
client - add moc_errcode[_r](), MOC_TRIGGER[_XXX]