std::error_category::message
< cpp | error | error category
virtual std::string message( int condition ) const = 0;
|
(C++11 起) | |
返回对于 *this 所表示的错误类别描述给定错误条件按的字符串。
参数
condition | - | 指定要描述的错误条件 |
返回值
描述给定错误类别的字符串。
异常
可能抛出实现定义的异常。
virtual std::string message( int condition ) const = 0;
|
(C++11 起) | |
返回对于 *this 所表示的错误类别描述给定错误条件按的字符串。
condition | - | 指定要描述的错误条件 |
描述给定错误类别的字符串。
可能抛出实现定义的异常。