Namespaces
Variants

std::error_code:: message

From cppreference.net
Utilities library
std:: string message ( ) const ;
(自 C++11 起)

返回与当前错误代码值和类别对应的消息。

等价于 category ( ) . message ( value ( ) )

参数

(无)

返回值

对应于当前错误代码值和类别的错误消息。

异常

可能抛出实现定义的异常。