is_ok接口

接口功能

获取返回对象状态,是否是正常状态。

C++函数原型

bool IsOk() const;

Python函数

is_ok()

接口参数

无。

使用样例

status = error.is_ok()