std::error_category::message

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

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

参数

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

返回值

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

异常

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