std::error_code::message
来自 cppreference.cn
< cpp | error | error code
std::string message() const; |
(自 C++11 起) | |
返回与当前错误码值和类别对应的消息。
等价于 category().message(value())。
[编辑] 参数
(无)
[编辑] 返回值
与当前错误码值和类别对应的错误消息。
[编辑] 异常
可能抛出实现定义的异常。