C++ 参考手册

std::string message() const;
(C++11 èµ·)

为存储的 error_code 和 error_category 返回解释性字符串。等效于调用 category().message(value()) 。

参数

(无)

返回值

存储的 error_code 和 error_category 的解释性字符串。

异常

(无)