is_ok接口 接口功能判断状态是否正常。 C++函数原型bool IsOk() const; Python函数is_ok() 接口参数无。 使用样例判断状态是否为正常状态。 1status = error.is_ok() 父主题: Error