命名空间
变体
操作

std::error_category::message

来自 cppreference.cn
 
 
 
 
 
virtual std::string message( int condition ) const = 0;
(C++11 起)

返回一个字符串,描述 *this 所表示的错误类别中给定的错误条件。

[编辑] 参数

条件 - 指定要描述的错误条件

[编辑] 返回值

描述给定错误条件的字符串。

[编辑] 异常

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